Property | Type | Description | |
---|---|---|---|
$blockX | |||
$blockY | |||
$blockZ | |||
$entityHit | |||
$hitVector | |||
$sideHit | Bottom = 0, Top = 1, East = 2, West = 3, North = 4, South = 5. | ||
$typeOfHit | 0 = block, 1 = entity |
Method | Description | |
---|---|---|
fromBlock ( integer $x, integer $y, integer $z, integer $side, |
||
fromEntity ( |
Method | Description | |
---|---|---|
__construct ( ) |
public static fromEntity ( |
||
$entity | ||
return |
public Entity,pocketmine\entity $entityHit | ||
return |
public Vector3,pocketmine\math $hitVector | ||
return |
public $sideHit |