Block: rename getPositionOffset() -> getModelPositionOffset()

this gives a better idea of what the function does, and is also much less annoying for auto complete.
This commit is contained in:
Dylan K. Taylor
2021-10-10 22:35:38 +01:00
parent aa53dc6709
commit fd2df637b6
2 changed files with 4 additions and 4 deletions

View File

@ -115,7 +115,7 @@ class Bamboo extends Transparent{
return 12 + (self::getOffsetSeed($x, 0, $z) % 5);
}
public function getPositionOffset() : ?Vector3{
public function getModelPositionOffset() : ?Vector3{
$seed = self::getOffsetSeed($this->position->getFloorX(), 0, $this->position->getFloorZ());
$retX = (($seed % 12) + 1) / 16;
$retZ = ((($seed >> 8) % 12) + 1) / 16;