| 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 | init () | 
| static | createEntity ($type, Level $level, CompoundTag $nbt,... $args) | 
| static | registerEntity ($className, $force=false) | 
|  Static Public Member Functions inherited from Location | |
| static | fromObject (Vector3 $pos, Level $level=null, $yaw=0.0, $pitch=0.0) | 
|  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 | $entityCount = 1 | 
| Protected Member Functions | |
| recalculateEffectColor () | |
| initEntity () | |
| addAttributes () | |
| checkObstruction ($x, $y, $z) | |
| updateMovement () | |
| updateFallState ($distanceThisTick, $onGround) | |
| switchLevel (Level $targetLevel) | |
| checkGroundState ($movX, $movY, $movZ, $dx, $dy, $dz) | |
| checkBlockCollision () | |
| checkChunks () | |
| Protected Attributes | |
| $hasSpawned = [] | |
| $effects = [] | |
| $id | |
| $dataFlags = 0 | |
| $dataProperties | |
| $lastDamageCause = null | |
| $age = 0 | |
| $ySize = 0 | |
| $stepHeight = 0 | |
| $isStatic = false | |
| $justCreated | |
| $attributeMap | |
| $gravity | |
| $drag | |
| $server | |
| $timings | |
| $isPlayer = false | |
| $linkedEntity = null | |
| $linkedType = null | |
| $riding = null | |
| $activatedPressurePlates = [] | |
| __construct | ( | Level | $level, | 
| CompoundTag | $nbt | ||
| ) | 
Entity constructor.
| Level | $level | |
| CompoundTag | $nbt | 
| __destruct | ( | ) | 
| __toString | ( | ) | 
| addEffect | ( | Effect | $effect | ) | 
| Effect | $effect | 
| attack | ( | $damage, | |
| EntityDamageEvent | $source | ||
| ) | 
| float | $damage | |
| EntityDamageEvent | $source | 
| canClimb | ( | ) | 
Returns whether the entity is able to climb blocks such as ladders or vines.
| canClimbWalls | ( | ) | 
Returns whether this entity is climbing a block. By default this is only true if the entity is climbing a ladder or vine or similar block.
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| $movX | |
| $movY | |
| $movZ | |
| $dx | |
| $dy | |
| $dz | 
| 
 | protected | 
| $x | |
| $y | |
| $z | 
| close | ( | ) | 
| 
 | static | 
| int | string | $type | |
| Level | $level | |
| CompoundTag | $nbt | |
| $args | 
| despawnFrom | ( | Player | $player, | 
| bool | $send = true | ||
| ) | 
| despawnFromAll | ( | ) | 
| entityBaseTick | ( | $tickDiff = 1 | ) | 
| int | $tickDiff | 
| extinguish | ( | ) | 
| fall | ( | $fallDistance | ) | 
| $fallDistance | 
| fastMove | ( | $dx, | |
| $dy, | |||
| $dz | |||
| ) | 
| $dx | |
| $dy | |
| $dz | 
| getAttributeMap | ( | ) | 
| getBlocksAround | ( | ) | 
| getBoundingBox | ( | ) | 
| getDataFlag | ( | $propertyId, | |
| $id | |||
| ) | 
| int | $propertyId | |
| int | $id | 
| getDataProperty | ( | $id | ) | 
| getDataPropertyType | ( | $id | ) | 
| getDirection | ( | ) | 
| getDirectionPlane | ( | ) | 
| getDirectionVector | ( | ) | 
| getEffect | ( | $effectId | ) | 
| getEffects | ( | ) | 
| getEyeHeight | ( | ) | 
| getHeight | ( | ) | 
| getId | ( | ) | 
| getLastDamageCause | ( | ) | 
| getLength | ( | ) | 
| getLinkedEntity | ( | ) | 
| getLinkedType | ( | ) | 
| getLocation | ( | ) | 
| getMaxHealth | ( | ) | 
| getMetadata | ( | $metadataKey | ) | 
| getMotion | ( | ) | 
| getNameTag | ( | ) | 
| getOwningEntity | ( | ) | 
Returns the owning entity, or null if the entity was not found.
| getOwningEntityId | ( | ) | 
Returns the entity ID of the owning entity, or null if the entity doesn't have an owner.
| getPosition | ( | ) | 
| getSaveId | ( | ) | 
| getScale | ( | ) | 
| getViewers | ( | ) | 
| getWidth | ( | ) | 
| hasEffect | ( | $effectId | ) | 
| hasMetadata | ( | $metadataKey | ) | 
| heal | ( | $amount, | |
| EntityRegainHealthEvent | $source | ||
| ) | 
| 
 | static | 
| 
 | protected | 
| isGliding | ( | ) | 
| isImmobile | ( | ) | 
| isInsideOfFire | ( | ) | 
| isInsideOfPortal | ( | ) | 
| isInsideOfSolid | ( | ) | 
| isInsideOfWater | ( | ) | 
| isNameTagAlwaysVisible | ( | ) | 
| isNameTagVisible | ( | ) | 
| isSneaking | ( | ) | 
| isSprinting | ( | ) | 
| kill | ( | ) | 
| linkEntity | ( | Entity | $entity | ) | 
| move | ( | $dx, | |
| $dy, | |||
| $dz | |||
| ) | 
| $dx | |
| $dy | |
| $dz | 
| onUpdate | ( | $currentTick | ) | 
| $currentTick | 
| 
 | protected | 
| 
 | static | 
| $className | ||
| bool | $force | 
| removeAllEffects | ( | ) | 
| removeEffect | ( | $effectId | ) | 
| $effectId | 
| removeMetadata | ( | $metadataKey, | |
| Plugin | $plugin | ||
| ) | 
| string | $metadataKey | |
| Plugin | $plugin | 
Implements Metadatable.
| respawnToAll | ( | ) | 
| saveNBT | ( | ) | 
| 
 | final | 
| sendData | ( | $player, | |
| array | $data = null | ||
| ) | 
| Player[]|Player | $player | |
| array | $data | Properly formatted entity data, defaults to everything | 
| sendLinkedData | ( | ) | 
| setCanClimb | ( | bool | $value | ) | 
Sets whether the entity is able to climb climbable blocks.
| bool | $value | 
| setCanClimbWalls | ( | bool | $value = true | ) | 
Sets whether the entity is climbing a block. If true, the entity can climb anything.
| bool | $value | 
| setDataFlag | ( | $propertyId, | |
| $id, | |||
| $value = true, | |||
| $type = self::DATA_TYPE_LONG | |||
| ) | 
| $propertyId | ||
| $id | ||
| bool | $value | |
| int | $type | 
| setDataProperty | ( | $id, | |
| $type, | |||
| $value | |||
| ) | 
| int | $id | |
| int | $type | |
| mixed | $value | 
| setGliding | ( | $value = true | ) | 
| bool | $value | 
| setHealth | ( | $amount | ) | 
| setImmobile | ( | $value = true | ) | 
| bool | $value | 
| setLastDamageCause | ( | EntityDamageEvent | $type | ) | 
| setLocation | ( | Location | $pos | ) | 
| Location | $pos | 
| setMetadata | ( | $metadataKey, | |
| MetadataValue | $metadataValue | ||
| ) | 
| string | $metadataKey | |
| MetadataValue | $metadataValue | 
Implements Metadatable.
| setMotion | ( | Vector3 | $motion | ) | 
| Vector3 | $motion | 
| setNameTag | ( | $name | ) | 
| string | $name | 
| setNameTagAlwaysVisible | ( | $value = true | ) | 
| bool | $value | 
| setNameTagVisible | ( | $value = true | ) | 
| bool | $value | 
| setOnFire | ( | $seconds | ) | 
| setPosition | ( | Vector3 | $pos | ) | 
| setPositionAndRotation | ( | Vector3 | $pos, | 
| $yaw, | |||
| $pitch | |||
| ) | 
| Vector3 | $pos | |
| $yaw | ||
| $pitch | 
| setRotation | ( | $yaw, | |
| $pitch | |||
| ) | 
| $yaw | |
| $pitch | 
| setScale | ( | $scale | ) | 
| $scale | 
| setSneaking | ( | $value = true | ) | 
| bool | $value | 
| setSprinting | ( | $value = true | ) | 
| bool | $value | 
| spawnTo | ( | Player | $player | ) | 
| Player | $player | 
| spawnToAll | ( | ) | 
| 
 | protected | 
| teleport | ( | Vector3 | $pos, | 
| $yaw = null, | |||
| $pitch = null | |||
| ) | 
| Vector3 | Position | Location | $pos | |
| float | $yaw | |
| float | $pitch | 
| 
 | protected | 
| $distanceThisTick | |
| $onGround | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| $boundingBox | 
| $canCollide = true | 
| $chunk | 
| $closed = false | 
| 
 | protected | 
| 
 | protected | 
| $deadTicks = 0 | 
| 
 | protected | 
| $dropExp = [0, 0] | 
| 
 | protected | 
| 
 | static | 
| $eyeHeight = null | 
| $fallDistance = 0 | 
| $fireTicks = 0 | 
| 
 | protected | 
| 
 | protected | 
| $height | 
| 
 | protected | 
| $inBlock = false | 
| $isCollided = false | 
| $isCollidedHorizontally = false | 
| $isCollidedVertically = false | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| $keepMovement = false | 
| 
 | protected | 
| $lastMotionX | 
| $lastMotionY | 
| $lastMotionZ | 
| $lastPitch | 
| $lastUpdate | 
| $lastX = null | 
| $lastY = null | 
| $lastYaw | 
| $lastZ = null | 
| 
 | protected | 
| 
 | protected | 
0 no linked 1 linked other 2 be linked
| $maxFireTicks | 
| $motionChanged | 
| $motionX | 
| $motionY | 
| $motionZ | 
| $namedtag | 
| $noDamageTicks | 
| $onGround | 
| $passenger = null | 
| $positionChanged | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| $temporalVector | 
| $ticksLived = 0 | 
| 
 | protected | 
| $vehicle = null | 
| $width | 
| 
 | protected | 
| const DATA_AIR = 7 | 
| const DATA_AREA_EFFECT_CLOUD_PARTICLE_ID = 63 | 
| const DATA_AREA_EFFECT_CLOUD_RADIUS = 61 | 
| const DATA_AREA_EFFECT_CLOUD_WAITING = 62 | 
| const DATA_BLOCK_TARGET = 48 | 
| const DATA_BOUNDING_BOX_HEIGHT = 55 | 
| const DATA_BOUNDING_BOX_WIDTH = 54 | 
| const DATA_COLOR = 3 | 
| const DATA_COLOUR = 3 | 
| const DATA_COMMAND_BLOCK_COMMAND = 71 | 
| const DATA_COMMAND_BLOCK_LAST_OUTPUT = 72 | 
| const DATA_COMMAND_BLOCK_TRACK_OUTPUT = 73 | 
| const DATA_CONTROLLING_RIDER_SEAT_NUMBER = 74 | 
| const DATA_ENDERMAN_HELD_ITEM_DAMAGE = 24 | 
| const DATA_ENDERMAN_HELD_ITEM_ID = 23 | 
| const DATA_ENTITY_AGE = 25 | 
| const DATA_EXPERIENCE_VALUE = 15 | 
| const DATA_FIREBALL_POWER_X = 30 | 
| const DATA_FIREBALL_POWER_Y = 31 | 
| const DATA_FIREBALL_POWER_Z = 32 | 
| const DATA_FLAG_ACTION = 4 | 
| const DATA_FLAG_ALWAYS_SHOW_NAMETAG = 15 | 
| const DATA_FLAG_ANGRY = 24 | 
| const DATA_FLAG_BABY = 11 | 
| const DATA_FLAG_BREATHING = 33 | 
| const DATA_FLAG_CAN_CLIMB = 19 | 
| const DATA_FLAG_CAN_FLY = 21 | 
| const DATA_FLAG_CAN_SHOW_NAMETAG = 14 | 
| const DATA_FLAG_CHARGE_ATTACK = 41 | 
| const DATA_FLAG_CHARGED = 26 | 
| const DATA_FLAG_CHESTED = 34 | 
| const DATA_FLAG_CONVERTING = 12 | 
| const DATA_FLAG_CRITICAL = 13 | 
| const DATA_FLAG_ELDER = 31 | 
| const DATA_FLAG_EVOKER_SPELL = 40 | 
| const DATA_FLAG_GLIDING = 30 | 
| const DATA_FLAG_IDLING = 39 | 
| const DATA_FLAG_IGNITED = 10 | 
| const DATA_FLAG_IMMOBILE = 16 | 
| const DATA_FLAG_INLOVE = 7 | 
| const DATA_FLAG_INTERESTED = 25 | 
| const DATA_FLAG_INVISIBLE = 5 | 
| const DATA_FLAG_LEASHED = 28 | 
| const DATA_FLAG_LINGER = 45 | 
| const DATA_FLAG_MOVING = 32 | 
| const DATA_FLAG_NO_AI = 16 | 
| const DATA_FLAG_ONFIRE = 0 | 
| const DATA_FLAG_POWERED = 9 | 
| const DATA_FLAG_REARING = 37 | 
| const DATA_FLAG_RESTING = 22 | 
| const DATA_FLAG_RIDING = 2 | 
| const DATA_FLAG_SADDLED = 8 | 
| const DATA_FLAG_SHEARED = 29 | 
| const DATA_FLAG_SHOWBASE = 36 | 
| const DATA_FLAG_SILENT = 17 | 
| const DATA_FLAG_SITTING = 23 | 
| const DATA_FLAG_SNEAKING = 1 | 
| const DATA_FLAG_SPRINTING = 3 | 
| const DATA_FLAG_STACKABLE = 35 | 
| const DATA_FLAG_SWIMMER = 20 | 
| const DATA_FLAG_TAMED = 27 | 
| const DATA_FLAG_TEMPTED = 6 | 
| const DATA_FLAG_VIBRATING = 38 | 
| const DATA_FLAG_WALLCLIMBING = 18 | 
| const DATA_FLAGS = 0 | 
| const DATA_FUSE_LENGTH = 56 | 
| const DATA_HEALTH = 1 | 
| const DATA_HURT_DIRECTION = 12 | 
| const DATA_HURT_TIME = 11 | 
| const DATA_INTERACTIVE_TAG = 40 | 
| const DATA_LEAD_HOLDER_EID = 38 | 
| const DATA_MARK_VARIANT = 44 | 
| const DATA_MAX_AIR = 43 | 
| const DATA_MAX_STRENGTH = 76 | 
| const DATA_MINECART_DISPLAY_BLOCK = 16 | 
| const DATA_MINECART_DISPLAY_OFFSET = 17 | 
| const DATA_MINECART_HAS_DISPLAY = 18 | 
| const DATA_NAMETAG = 4 | 
| const DATA_NPC_SKIN_ID = 41 | 
| const DATA_OWNER_EID = 5 | 
| const DATA_PADDLE_TIME_LEFT = 13 | 
| const DATA_PADDLE_TIME_RIGHT = 14 | 
| const DATA_POTION_AMBIENT = 9 | 
| const DATA_POTION_AUX_VALUE = 37 | 
| const DATA_POTION_COLOR = 8 | 
| const DATA_RIDER_MAX_ROTATION = 59 | 
| const DATA_RIDER_MIN_ROTATION = 60 | 
| const DATA_RIDER_ROTATION_LOCKED = 58 | 
| const DATA_RIDER_SEAT_POSITION = 57 | 
| const DATA_SCALE = 39 | 
| const DATA_SHULKER_ATTACH_FACE = 65 | 
| const DATA_SHULKER_ATTACH_POS = 67 | 
| const DATA_STRENGTH = 75 | 
| const DATA_TARGET_EID = 6 | 
| const DATA_TRADING_PLAYER_EID = 68 | 
| const DATA_TYPE_BYTE = 0 | 
| const DATA_TYPE_FLOAT = 3 | 
| const DATA_TYPE_INT = 2 | 
| const DATA_TYPE_LONG = 7 | 
| const DATA_TYPE_POS = 6 | 
| const DATA_TYPE_SHORT = 1 | 
| const DATA_TYPE_SLOT = 5 | 
| const DATA_TYPE_STRING = 4 | 
| const DATA_TYPE_VECTOR3F = 8 | 
| const DATA_URL_TAG = 42 | 
| const DATA_VARIANT = 2 | 
| const DATA_WITHER_INVULNERABLE_TICKS = 49 | 
| const DATA_WITHER_TARGET_1 = 50 | 
| const DATA_WITHER_TARGET_2 = 51 | 
| const DATA_WITHER_TARGET_3 = 52 | 
| const EAST = 3 | 
| const NETWORK_ID = -1 | 
| const NORTH = 2 | 
| const SOUTH = 0 | 
| const WEST = 1 |