PocketMine
|
Static Public Member Functions | |
static | fromBlock ($x, $y, $z, $side, Vector3 $hitVector) |
static | fromEntity (Entity $entity) |
Data Fields | |
$typeOfHit | |
$blockX | |
$blockY | |
$blockZ | |
$sideHit | |
$hitVector | |
$entityHit = null | |
|
static |
int | $x | |
int | $y | |
int | $z | |
int | $side | |
Vector3 | $hitVector |
|
static |
Entity | $entity |
$sideHit |
Which side was hit. If its -1 then it went the full length of the ray trace. Bottom = 0, Top = 1, East = 2, West = 3, North = 4, South = 5.
$typeOfHit |
0 = block, 1 = entity