PocketMine-MP 5.15.1 git-08c6e63aac45a450fe3b437616ee8aa2500e04e2
pocketmine\network\mcpe\protocol\types\BlockPosition Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\BlockPosition:

Public Member Functions

 __construct (private int $x, private int $y, private int $z)
 equals (BlockPosition $other)
 getX ()
 getY ()
 getZ ()

Static Public Member Functions

static fromVector3 (Vector3 $vector3)

Detailed Description

Definition at line 19 of file BlockPosition.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\BlockPosition::__construct ( private int  $x,
private int  $y,
private int  $z 

Definition at line 21 of file BlockPosition.php.

Member Function Documentation

◆ equals()

pocketmine\network\mcpe\protocol\types\BlockPosition::equals ( BlockPosition  $other)

Definition at line 37 of file BlockPosition.php.

◆ fromVector3()

static pocketmine\network\mcpe\protocol\types\BlockPosition::fromVector3 ( Vector3  $vector3)

Definition at line 33 of file BlockPosition.php.

◆ getX()

pocketmine\network\mcpe\protocol\types\BlockPosition::getX ( )

Definition at line 27 of file BlockPosition.php.

◆ getY()

pocketmine\network\mcpe\protocol\types\BlockPosition::getY ( )

Definition at line 29 of file BlockPosition.php.

◆ getZ()

pocketmine\network\mcpe\protocol\types\BlockPosition::getZ ( )

Definition at line 31 of file BlockPosition.php.

The documentation for this class was generated from the following file: