GenisysPro
for Minecraft PE/Windows 10 v1.1.x
Feature-rich server software for Minecraft PE and Windows 10 Edition
|
Static Public Member Functions | |
static | get ($id, $meta=0, Position $pos=null) |
Static Public Member Functions inherited from Position | |
static | fromObject (Vector3 $pos, Level $level=null) |
Static Public Member Functions inherited from Vector3 | |
static | getOppositeSide ($side) |
static | createRandomDirection (Random $random) |
Static Public Attributes | |
static | $list = null |
static | $fullList = null |
static | $light = null |
static | $lightFilter = null |
static | $solid = null |
static | $hardness = null |
static | $transparent = null |
static | $diffusesSkyLight = null |
Protected Member Functions | |
recalculateBoundingBox () | |
Protected Attributes | |
$id | |
$meta = 0 | |
__construct | ( | $id, | |
$meta = 0 |
|||
) |
__toString | ( | ) |
Vector3 | $pos1 | |
Vector3 | $pos2 |
canBeBrokenWith | ( | Item | $item | ) |
canBeReplaced | ( | ) |
canNeighborBurn | ( | ) |
collidesWithBB | ( | AxisAlignedBB | $bb | ) |
Checks for collision against an AxisAlignedBB
AxisAlignedBB | $bb |
|
static |
getBoundingBox | ( | ) |
getBreakTime | ( | Item | $item | ) |
Returns the seconds that this block takes to be broken using an specific Item
Item | $item |
|
final |
getDrops | ( | Item | $item | ) |
|
final |
getMetadata | ( | $metadataKey | ) |
Returns a list of previously set metadata values from the implementing object's metadata store.
string | $metadataKey |
Implements Metadatable.
getResistance | ( | ) |
getSide | ( | $side, | |
$step = 1 |
|||
) |
getToolType | ( | ) |
hasMetadata | ( | $metadataKey | ) |
Tests to see whether the implementing object contains the given metadata value in its metadata store.
string | $metadataKey |
Implements Metadatable.
isActivated | ( | Block | $from = null | ) |
isBreakable | ( | Item | $item | ) |
isPlaceable | ( | ) |
isTopFacingSurfaceSolid | ( | ) |
Do actions when activated by Item. Returns if it has done anything
Item | $item | |
Player | $player |
onBreak | ( | Item | $item | ) |
Do the actions needed so the block is broken with the Item
Item | $item |
onEntityCollide | ( | Entity | $entity | ) |
onUpdate | ( | $type | ) |
|
final |
|
protected |
removeMetadata | ( | $metadataKey, | |
Plugin | $owningPlugin | ||
) |
Removes the given metadata value from the implementing object's metadata store.
string | $metadataKey | |
Plugin | $owningPlugin |
Implements Metadatable.
|
final |
int | $meta |
setMetadata | ( | $metadataKey, | |
MetadataValue | $newMetadataValue | ||
) |
Sets a metadata value in the implementing object's metadata store.
string | $metadataKey | |
MetadataValue | $newMetadataValue |
Implements Metadatable.
$boundingBox = null |
|
static |
|
static |
|
static |
|
protected |
|
static |
|
static |
|
static |
|
protected |
|
static |
|
static |