|
| | onUpdate ($tick) |
| |
| | willMove ($distance=36) |
| |
| | attack ($damage, EntityDamageEvent $source) |
| |
| | ifjump (Level $level, Vector3 $v3, $hate=false, $reason=false) |
| |
| | whatBlock (Level $level, $v3) |
| |
| | getMyYaw ($mx, $mz) |
| |
| | getMyPitch (Vector3 $from, Vector3 $to) |
| |
| | setHealth ($amount) |
| |
| | saveNBT () |
| |
| | getName () |
| |
| | hasLineOfSight (Entity $entity) |
| |
| | heal ($amount, EntityRegainHealthEvent $source) |
| |
| | attack ($damage, EntityDamageEvent $source) |
| |
| | knockBack (Entity $attacker, $damage, $x, $z, $base=0.4) |
| |
| | kill () |
| |
| | entityBaseTick ($tickDiff=1, $EnchantL=0) |
| |
| | getDrops () |
| |
| | getLineOfSight ($maxDistance, $maxLength=0, array $transparent=[]) |
| |
| | getTargetBlock ($maxDistance, array $transparent=[]) |
| |
| | __construct (Level $level, CompoundTag $nbt) |
| |
| | getHeight () |
| |
| | getWidth () |
| |
| | getLength () |
| |
| | setScale ($scale) |
| |
| | getScale () |
| |
| | getDropExpMin () |
| |
| | getDropExpMax () |
| |
| | getNameTag () |
| |
| | isNameTagVisible () |
| |
| | isNameTagAlwaysVisible () |
| |
| | setNameTag ($name) |
| |
| | setNameTagVisible ($value=true) |
| |
| | setNameTagAlwaysVisible ($value=true) |
| |
| | isSneaking () |
| |
| | setSneaking ($value=true) |
| |
| | isSprinting () |
| |
| | setSprinting ($value=true) |
| |
| | isGliding () |
| |
| | setGliding ($value=true) |
| |
| | isImmobile () |
| |
| | setImmobile ($value=true) |
| |
| | canClimb () |
| |
| | setCanClimb (bool $value) |
| |
| | canClimbWalls () |
| |
| | setCanClimbWalls (bool $value=true) |
| |
| | getOwningEntityId () |
| |
| | getOwningEntity () |
| |
| | setOwningEntity (Entity $owner) |
| |
| | getEffects () |
| |
| | removeAllEffects () |
| |
| | removeEffect ($effectId) |
| |
| | getEffect ($effectId) |
| |
| | hasEffect ($effectId) |
| |
| | addEffect (Effect $effect) |
| |
| | getSaveId () |
| |
| | saveNBT () |
| |
| | getViewers () |
| |
| | spawnTo (Player $player) |
| |
| | sendPotionEffects (Player $player) |
| |
| | sendData ($player, array $data=null) |
| |
| | despawnFrom (Player $player, bool $send=true) |
| |
| | attack ($damage, EntityDamageEvent $source) |
| |
| | heal ($amount, EntityRegainHealthEvent $source) |
| |
| | getHealth () |
| |
| | isAlive () |
| |
| | setHealth ($amount) |
| |
| | setLastDamageCause (EntityDamageEvent $type) |
| |
| | getLastDamageCause () |
| |
| | getAttributeMap () |
| |
| | getMaxHealth () |
| |
| | setMaxHealth ($amount) |
| |
| | canCollideWith (Entity $entity) |
| |
| | entityBaseTick ($tickDiff=1) |
| |
| | getDirectionVector () |
| |
| | getDirectionPlane () |
| |
| | onUpdate ($currentTick) |
| |
| | scheduleUpdate () |
| |
| | isOnFire () |
| |
| | setOnFire ($seconds) |
| |
| | isFireProof () |
| |
| | getDirection () |
| |
| | extinguish () |
| |
| | canTriggerWalking () |
| |
| | resetFallDistance () |
| |
| | getBoundingBox () |
| |
| | fall ($fallDistance) |
| |
| | handleLavaMovement () |
| |
| | getEyeHeight () |
| |
| | moveFlying () |
| |
| | onCollideWithPlayer (Human $entityPlayer) |
| |
| | getPosition () |
| |
| | getLocation () |
| |
| | isInsideOfPortal () |
| |
| | isInsideOfWater () |
| |
| | isInsideOfSolid () |
| |
| | isInsideOfFire () |
| |
| | fastMove ($dx, $dy, $dz) |
| |
| | move ($dx, $dy, $dz) |
| |
| | getBlocksAround () |
| |
| | setPositionAndRotation (Vector3 $pos, $yaw, $pitch) |
| |
| | setRotation ($yaw, $pitch) |
| |
| | setLocation (Location $pos) |
| |
| | setPosition (Vector3 $pos) |
| |
| | getMotion () |
| |
| | setMotion (Vector3 $motion) |
| |
| | isOnGround () |
| |
| | kill () |
| |
| | teleport (Vector3 $pos, $yaw=null, $pitch=null) |
| |
| | getId () |
| |
| | respawnToAll () |
| |
| | spawnToAll () |
| |
| | despawnFromAll () |
| |
| | close () |
| |
| | setDataProperty ($id, $type, $value) |
| |
| | linkEntity (Entity $entity) |
| |
| | sendLinkedData () |
| |
| | setLinked ($type=0, Entity $entity) |
| |
| | getLinkedEntity () |
| |
| | getLinkedType () |
| |
| | getDataProperty ($id) |
| |
| | getDataPropertyType ($id) |
| |
| | setDataFlag ($propertyId, $id, $value=true, $type=self::DATA_TYPE_LONG) |
| |
| | getDataFlag ($propertyId, $id) |
| |
| | __destruct () |
| |
| | setMetadata ($metadataKey, MetadataValue $metadataValue) |
| |
| | getMetadata ($metadataKey) |
| |
| | hasMetadata ($metadataKey) |
| |
| | removeMetadata ($metadataKey, Plugin $plugin) |
| |
| | __toString () |
| |
| | __construct ($x=0, $y=0, $z=0, $yaw=0.0, $pitch=0.0, Level $level=null) |
| |
| | asLocation () |
| |
| | add ($x, $y=0, $z=0, $yaw=0, $pitch=0) |
| |
| | getYaw () |
| |
| | getPitch () |
| |
| | fromObjectAdd (Vector3 $pos, $x, $y, $z) |
| |
| | __toString () |
| |
| | __construct ($x=0, $y=0, $z=0, Level $level=null) |
| |
| | asPosition () |
| |
| | add ($x, $y=0, $z=0) |
| |
| | getLevel () |
| |
| | setLevel (Level $level=null) |
| |
| | isValid () |
| |
| | getSide ($side, $step=1) |
| |
| | __toString () |
| |
| | setComponents ($x, $y, $z) |
| |
| | fromObjectAdd (Vector3 $pos, $x, $y, $z) |
| |
| | __construct ($x=0, $y=0, $z=0) |
| |
| | getX () |
| |
| | getY () |
| |
| | getZ () |
| |
| | getFloorX () |
| |
| | getFloorY () |
| |
| | getFloorZ () |
| |
| | getRight () |
| |
| | getUp () |
| |
| | getForward () |
| |
| | getSouth () |
| |
| | getWest () |
| |
| | add ($x, $y=0, $z=0) |
| |
| | subtract ($x=0, $y=0, $z=0) |
| |
| | multiply ($number) |
| |
| | divide ($number) |
| |
| | ceil () |
| |
| | floor () |
| |
| | round () |
| |
| | abs () |
| |
| | getSide ($side, $step=1) |
| |
| | asVector3 () |
| |
| | distance (Vector3 $pos) |
| |
| | distanceSquared (Vector3 $pos) |
| |
| | maxPlainDistance ($x=0, $z=0) |
| |
| | length () |
| |
| | lengthSquared () |
| |
| | normalize () |
| |
| | dot (Vector3 $v) |
| |
| | cross (Vector3 $v) |
| |
| | equals (Vector3 $v) |
| |
| | getIntermediateWithXValue (Vector3 $v, $x) |
| |
| | getIntermediateWithYValue (Vector3 $v, $y) |
| |
| | getIntermediateWithZValue (Vector3 $v, $z) |
| |
| | setComponents ($x, $y, $z) |
| |
| | fromObjectAdd (Vector3 $pos, $x, $y, $z) |
| |
| | __toString () |
| |