$world (defined in pocketmine\world\Position) | pocketmine\world\Position | |
__construct(float|int $x, float|int $y, float|int $z, ?World $world) (defined in pocketmine\world\Position) | pocketmine\world\Position | |
__construct(public float|int $x, public float|int $y, public float|int $z) (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
__toString() (defined in pocketmine\world\Position) | pocketmine\world\Position | |
abs() (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
add(float|int $x, float|int $y, float|int $z) (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
addVector(Vector3 $v) (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
asPosition() | pocketmine\world\Position | |
asVector3() | pocketmine\math\Vector3 | |
ceil() (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
cross(Vector3 $v) (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
distance(Vector3 $pos) (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
distanceSquared(Vector3 $pos) (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
divide(float $number) (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
dot(Vector3 $v) (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
down(int $step=1) | pocketmine\math\Vector3 | |
east(int $step=1) | pocketmine\math\Vector3 | |
equals(Vector3 $v) (defined in pocketmine\world\Position) | pocketmine\world\Position | |
floor() (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
fromObject(Vector3 $pos, ?World $world) | pocketmine\world\Position | static |
getFloorX() (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
getFloorY() (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
getFloorZ() (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
getIntermediateWithXValue(Vector3 $v, float $x) | pocketmine\math\Vector3 | |
getIntermediateWithYValue(Vector3 $v, float $y) | pocketmine\math\Vector3 | |
getIntermediateWithZValue(Vector3 $v, float $z) | pocketmine\math\Vector3 | |
getSide(int $side, int $step=1) | pocketmine\world\Position | |
getWorld() | pocketmine\world\Position | |
getX() (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
getY() (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
getZ() (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
isValid() | pocketmine\world\Position | |
length() (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
lengthSquared() (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
maxComponents(Vector3 $vector, Vector3 ... $vectors) | pocketmine\math\Vector3 | static |
maxPlainDistance(Vector3|Vector2|float $x, float $z=0) (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
minComponents(Vector3 $vector, Vector3 ... $vectors) | pocketmine\math\Vector3 | static |
multiply(float $number) (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
normalize() (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
north(int $step=1) | pocketmine\math\Vector3 | |
round(int $precision=0, int $mode=PHP_ROUND_HALF_UP) | pocketmine\math\Vector3 | |
sides(int $step=1) | pocketmine\math\Vector3 | |
sidesAroundAxis(int $axis, int $step=1) | pocketmine\math\Vector3 | |
sidesArray(bool $keys=false, int $step=1) | pocketmine\math\Vector3 | |
south(int $step=1) | pocketmine\math\Vector3 | |
subtract(float|int $x, float|int $y, float|int $z) (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
subtractVector(Vector3 $v) (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | |
sum(Vector3 ... $vector3s) (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | static |
up(int $step=1) | pocketmine\math\Vector3 | |
west(int $step=1) | pocketmine\math\Vector3 | |
withComponents(float|int|null $x, float|int|null $y, float|int|null $z) | pocketmine\math\Vector3 | |
zero() (defined in pocketmine\math\Vector3) | pocketmine\math\Vector3 | static |