PocketMine-MP 5.21.1 git-e598364f0695495cbe71ddf0b62f134b51091c6e
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)
static

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: