PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
|
Static Public Member Functions | |
static | nextRuntimeId () |
Public Attributes | |
AxisAlignedBB | $boundingBox |
int | $deadTicks = 0 |
float | $fallDistance = 0.0 |
bool | $isCollided = false |
bool | $isCollidedHorizontally = false |
bool | $isCollidedVertically = false |
bool | $keepMovement = false |
int | $lastUpdate |
int | $noDamageTicks = 0 |
bool | $onGround = false |
EntitySizeInfo | $size |
Vector3 | $swimDirection = null |
float | $swimSpeed = 0.1 |
int | $ticksLived = 0 |
const | DEFAULT_KNOCKBACK_FORCE = 0.4 |
const | DEFAULT_KNOCKBACK_VERTICAL_LIMIT = 0.4 |
const | MOTION_THRESHOLD = 0.00001 |
const | TAG_MOTION = "Motion" |
const | TAG_POS = "Pos" |
const | TAG_ROTATION = "Rotation" |
|
inherited |
Definition at line 1713 of file Entity.php.
|
protectedinherited |
Reimplemented from pocketmine\entity\Entity.
Definition at line 189 of file Living.php.
|
inherited |
Adds the given values to the entity's motion vector.
Definition at line 1424 of file Entity.php.
Referenced by pocketmine\entity\effect\LevitationEffect\applyEffect().
|
protectedinherited |
Applies effects from consuming the object. This shouldn't do any can-consume checks (those are expected to be handled by the caller).
Reimplemented in pocketmine\entity\Human.
Definition at line 334 of file Living.php.
|
inherited |
Called prior to EntityDamageEvent execution to apply modifications to the event's damage, such as reduction due to effects or armour.
Reimplemented in pocketmine\entity\Human.
Definition at line 427 of file Living.php.
References pocketmine\event\entity\EntityDamageEvent\getBaseDamage().
|
protectedinherited |
Definition at line 824 of file Entity.php.
|
protectedinherited |
Called after EntityDamageEvent execution to apply post-hurt effects, such as reducing absorption or modifying armour durability. This will not be called by damage sources causing death.
Reimplemented in pocketmine\entity\Human, and pocketmine\player\Player.
Definition at line 464 of file Living.php.
pocketmine\entity\Squid::attack | ( | EntityDamageEvent | $source | ) |
Reimplemented from pocketmine\entity\Living.
|
inherited |
Player[] | null | $targets |
Reimplemented in pocketmine\player\Player.
Definition at line 1695 of file Entity.php.
|
protectedinherited |
Definition at line 803 of file Entity.php.
|
protectedinherited |
Definition at line 785 of file Entity.php.
|
inherited |
Broadcasts a sound caused by the entity. If the entity is considered "silent", the sound will be dropped.
Player[] | null | $targets |
Reimplemented in pocketmine\player\Player.
Definition at line 1703 of file Entity.php.
|
protectedinherited |
Definition at line 361 of file Living.php.
|
inherited |
Definition at line 751 of file Entity.php.
|
inherited |
Returns whether this entity can be moved by currents in liquids.
Reimplemented in pocketmine\entity\object\FallingBlock, and pocketmine\player\Player.
Definition at line 1305 of file Entity.php.
|
inherited |
Returns whether players can rename this entity using a name tag. Note that plugins can still name entities using setNameTag().
Reimplemented from pocketmine\entity\Entity.
Reimplemented in pocketmine\player\Player.
Definition at line 137 of file Living.php.
|
inherited |
Returns whether the entity can currently breathe.
Reimplemented from pocketmine\entity\Living.
Definition at line 37 of file WaterAnimal.php.
|
inherited |
Returns whether the entity is able to climb blocks such as ladders or vines.
Definition at line 369 of file Entity.php.
|
inherited |
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.
Definition at line 384 of file Entity.php.
|
inherited |
Definition at line 747 of file Entity.php.
|
inherited |
Returns whether this entity will be saved when its chunk is unloaded.
Reimplemented in pocketmine\entity\object\ItemEntity, and pocketmine\player\Player.
Definition at line 460 of file Entity.php.
|
protectedinherited |
Definition at line 1309 of file Entity.php.
|
protectedinherited |
Definition at line 1253 of file Entity.php.
|
protectedinherited |
Definition at line 852 of file Entity.php.
|
finalinherited |
Closes the entity and frees attached references.
WARNING: Entities are unusable after this has been executed!
Definition at line 1595 of file Entity.php.
|
inherited |
Causes the mob to consume the given Consumable object, applying applicable effects, health bonuses, food bonuses, etc.
Reimplemented in pocketmine\entity\Human.
Definition at line 325 of file Living.php.
|
inherited |
Damages the worn armour according to the amount of damage given. Each 4 points (rounded down) deals 1 damage point to each armour piece, but never less than 1 total.
Definition at line 504 of file Living.php.
|
protectedinherited |
Called to deal damage to entities when they are on fire.
Definition at line 742 of file Entity.php.
|
inherited |
Definition at line 1542 of file Entity.php.
|
inherited |
Definition at line 1556 of file Entity.php.
|
protectedinherited |
Called when the entity is disposed, after all events have been fired. This should be used to perform destructive circular object references and things which could impact memory usage.
It is expected that the object is unusable after this is called.
Reimplemented from pocketmine\entity\Entity.
Reimplemented in pocketmine\entity\Human, and pocketmine\player\Player.
Definition at line 929 of file Living.php.
|
protectedinherited |
Ticks the entity's air supply, consuming it when underwater and regenerating it when out of water.
Definition at line 693 of file Living.php.
|
protectedinherited |
Definition at line 590 of file Living.php.
|
protectedinherited |
Definition at line 718 of file Entity.php.
|
protectedinherited |
Definition at line 646 of file Living.php.
|
protected |
Reimplemented from pocketmine\entity\Living.
|
inherited |
Definition at line 709 of file Entity.php.
|
inherited |
Flags the entity to be removed from the world on the next tick.
Definition at line 1574 of file Entity.php.
|
inherited |
Definition at line 222 of file Living.php.
|
inherited |
Returns the number of ticks remaining in the entity's air supply. Note that the entity may survive longer than this amount of time without damage due to enchantments such as Respiration.
Definition at line 752 of file Living.php.
|
finalprotectedinherited |
Definition at line 1661 of file Entity.php.
|
inherited |
Definition at line 415 of file Living.php.
|
inherited |
Returns how many armour points this mob has. Armour points provide a percentage reduction to damage. For mobs which can wear armour, this should return the sum total of the armour points provided by their equipment.
Definition at line 394 of file Living.php.
|
inherited |
Definition at line 627 of file Entity.php.
|
protectedinherited |
Definition at line 1287 of file Entity.php.
|
protectedinherited |
Yields all the blocks whose full-cube areas are intersected by the entity's AABB.
@phpstan-return \Generator<int, Block, void, void>
Definition at line 1265 of file Entity.php.
|
inherited |
Definition at line 300 of file Entity.php.
|
inherited |
Definition at line 954 of file Entity.php.
|
inherited |
Definition at line 945 of file Entity.php.
|
finalprotectedinherited |
Definition at line 1649 of file Entity.php.
|
inherited |
Returns the name used to describe this entity in chat and command outputs.
Reimplemented in pocketmine\player\Player.
Definition at line 201 of file Living.php.
pocketmine\entity\Squid::getDrops | ( | ) |
Reimplemented from pocketmine\entity\Living.
|
inherited |
Definition at line 317 of file Living.php.
|
inherited |
Definition at line 1101 of file Entity.php.
|
inherited |
Definition at line 1105 of file Entity.php.
|
inherited |
Definition at line 1066 of file Entity.php.
|
inherited |
Definition at line 692 of file Entity.php.
|
inherited |
Definition at line 807 of file Entity.php.
|
inherited |
Definition at line 584 of file Entity.php.
|
inherited |
Returns the highest level of the specified enchantment on any armour piece that the entity is currently wearing.
Definition at line 406 of file Living.php.
|
inherited |
Definition at line 926 of file Entity.php.
|
inherited |
Definition at line 1474 of file Entity.php.
|
protectedinherited |
Returns the percentage by which the entity's velocity is reduced per tick when moving through air. The entity's velocity is multiplied by 1 minus this value.
Reimplemented from pocketmine\entity\Entity.
Definition at line 131 of file Living.php.
|
protectedinherited |
Returns the downwards acceleration of the entity when falling, in blocks/tick².
Reimplemented from pocketmine\entity\Entity.
Definition at line 133 of file Living.php.
|
protected |
Reimplemented from pocketmine\entity\Entity.
|
inherited |
Returns the initial upwards velocity of a jumping entity in blocks/tick, including additional velocity due to effects.
Definition at line 348 of file Living.php.
|
inherited |
Definition at line 623 of file Entity.php.
|
inherited |
true[] | $transparent | @phpstan-param array<int, true> $transparent |
Definition at line 808 of file Living.php.
|
inherited |
Definition at line 1335 of file Entity.php.
|
inherited |
Returns the maximum amount of air ticks the entity's air supply can contain.
Definition at line 767 of file Living.php.
|
inherited |
Reimplemented from pocketmine\entity\Entity.
Definition at line 214 of file Living.php.
|
inherited |
Definition at line 1398 of file Entity.php.
|
inherited |
Definition at line 286 of file Living.php.
pocketmine\entity\Squid::getName | ( | ) |
Reimplemented from pocketmine\entity\Living.
|
inherited |
Definition at line 244 of file Entity.php.
|
inherited |
Definition at line 631 of file Entity.php.
pocketmine\entity\Squid::getNetworkTypeId | ( | ) |
Reimplemented from pocketmine\entity\Entity.
|
inherited |
Definition at line 781 of file Entity.php.
|
inherited |
Returns the owning entity, or null if the entity was not found.
Definition at line 406 of file Entity.php.
References pocketmine\server().
|
inherited |
Returns the entity ID of the owning entity, or null if the entity doesn't have an owner.
Definition at line 399 of file Entity.php.
pocketmine\entity\Squid::getPickedItem | ( | ) |
Returns the item that players will equip when middle-clicking on this entity.
Reimplemented from pocketmine\entity\Entity.
|
inherited |
Definition at line 1331 of file Entity.php.
|
inherited |
Definition at line 288 of file Entity.php.
|
inherited |
Definition at line 279 of file Entity.php.
|
inherited |
Definition at line 317 of file Entity.php.
|
inherited |
true[] | $transparent | @phpstan-param array<int, true> $transparent |
Definition at line 849 of file Living.php.
|
inherited |
Returns the entity's target entity, or null if not found. This is used for things like hostile mobs attacking entities, and for fishing rods reeling hit entities in.
Definition at line 437 of file Entity.php.
References pocketmine\server().
|
inherited |
Returns the entity ID of the entity's target, or null if it doesn't have a target.
Definition at line 429 of file Entity.php.
|
inherited |
Definition at line 1481 of file Entity.php.
|
inherited |
Definition at line 1339 of file Entity.php.
|
inherited |
Returns the amount of XP this mob will drop on death.
Reimplemented in pocketmine\entity\Human, pocketmine\entity\Zombie, and pocketmine\player\Player.
Definition at line 798 of file Living.php.
|
inherited |
Definition at line 816 of file Entity.php.
|
inherited |
Returns whether the entity needs a movement update on the next tick.
Reimplemented in pocketmine\entity\object\Painting, and pocketmine\entity\projectile\Projectile.
Definition at line 1056 of file Entity.php.
|
inherited |
Returns whether clients may predict this entity's behaviour and movement. Used for things like water movement, burning, and movement smoothing (interpolation).
Definition at line 331 of file Entity.php.
|
inherited |
Definition at line 549 of file Entity.php.
pocketmine\entity\Squid::initEntity | ( | CompoundTag | $nbt | ) |
Reimplemented from pocketmine\entity\Living.
|
inherited |
Definition at line 580 of file Entity.php.
|
inherited |
Implements pocketmine\entity\Ageable.
Definition at line 33 of file WaterAnimal.php.
|
inherited |
Returns whether the entity is currently breathing or not. If this is false, the entity's air supply will be used.
Definition at line 735 of file Living.php.
|
inherited |
Returns whether the entity has been "closed".
Definition at line 1586 of file Entity.php.
|
inherited |
Definition at line 714 of file Entity.php.
|
inherited |
Definition at line 1579 of file Entity.php.
|
inherited |
Definition at line 254 of file Living.php.
|
inherited |
Definition at line 1131 of file Entity.php.
|
inherited |
Definition at line 348 of file Entity.php.
|
inherited |
Definition at line 252 of file Entity.php.
|
inherited |
Definition at line 248 of file Entity.php.
|
inherited |
Definition at line 680 of file Entity.php.
|
inherited |
Definition at line 1431 of file Entity.php.
|
inherited |
Definition at line 357 of file Entity.php.
|
inherited |
Definition at line 230 of file Living.php.
|
inherited |
Definition at line 240 of file Living.php.
|
inherited |
Definition at line 264 of file Living.php.
|
inherited |
Definition at line 1120 of file Entity.php.
|
inherited |
Called when the entity jumps from the ground. This method adds upwards velocity to the entity.
Reimplemented in pocketmine\entity\Human, and pocketmine\player\Player.
Definition at line 355 of file Living.php.
|
inherited |
Definition at line 558 of file Entity.php.
|
inherited |
Definition at line 594 of file Living.php.
|
inherited |
Changes the entity's yaw and pitch to make it look at the specified Vector3 position. For mobs, this will cause their heads to turn.
Definition at line 862 of file Living.php.
|
protectedinherited |
Definition at line 1137 of file Entity.php.
|
staticinherited |
Returns a new runtime entity ID for a new entity.
Definition at line 102 of file Entity.php.
|
inherited |
Called when the entity's air supply ticks reaches -20 or lower. The entity will usually take damage at this point and then the supply is reset to 0, so this method will be called roughly every second.
Reimplemented from pocketmine\entity\Living.
Definition at line 41 of file WaterAnimal.php.
|
inherited |
Definition at line 1109 of file Entity.php.
|
protectedinherited |
Override this to do actions on death.
Reimplemented from pocketmine\entity\Entity.
Reimplemented in pocketmine\player\Player.
Definition at line 618 of file Living.php.
|
protectedinherited |
Called to tick entities while dead. Returns whether the entity should be flagged for despawn yet.
Reimplemented from pocketmine\entity\Entity.
Reimplemented in pocketmine\player\Player.
Definition at line 631 of file Living.php.
|
protectedinherited |
Called when the entity is disposed to clean up things like viewers. This SHOULD NOT destroy internal state, because it may be needed by descendent classes.
Reimplemented from pocketmine\entity\Entity.
Reimplemented in pocketmine\entity\Human, and pocketmine\player\Player.
Definition at line 922 of file Living.php.
|
protectedinherited |
Called from onUpdate() on the first tick of a new entity. This is called before any movement processing or main ticking logic. Use this to fire any events related to spawning the entity.
Reimplemented in pocketmine\entity\object\ItemEntity.
Definition at line 962 of file Entity.php.
|
protectedinherited |
Called when a falling entity hits the ground.
Reimplemented from pocketmine\entity\Entity.
Definition at line 365 of file Living.php.
Called when interacted or tapped by a Player. Returns whether something happened as a result of the interaction.
Definition at line 1116 of file Entity.php.
|
inherited |
Definition at line 1030 of file Entity.php.
|
inherited |
Called when a random update is performed on the chunk the entity is in. This happens when the chunk is within the ticking chunk range of a player (or chunk loader).
Reimplemented in pocketmine\entity\object\Painting.
Definition at line 1039 of file Entity.php.
|
inherited |
Definition at line 966 of file Entity.php.
|
protectedinherited |
Definition at line 304 of file Entity.php.
|
inherited |
Definition at line 1072 of file Entity.php.
|
protectedinherited |
Definition at line 1393 of file Entity.php.
|
inherited |
Definition at line 1531 of file Entity.php.
|
inherited |
Reimplemented from pocketmine\entity\Entity.
Definition at line 294 of file Living.php.
|
finalinherited |
Definition at line 1023 of file Entity.php.
|
inherited |
Player[] | null | $targets | |
MetadataProperty[] | $data | Properly formatted entity data, defaults to everything |
@phpstan-param array<int, MetadataProperty> $data
Reimplemented in pocketmine\player\Player.
Definition at line 1638 of file Entity.php.
|
protectedinherited |
Called by spawnTo() to send whatever packets needed to spawn the entity to the client.
Reimplemented from pocketmine\entity\Entity.
Reimplemented in pocketmine\entity\Human.
Definition at line 878 of file Living.php.
|
inherited |
Definition at line 226 of file Living.php.
|
inherited |
Sets the number of air ticks left in the entity's air supply.
Definition at line 759 of file Living.php.
|
inherited |
Sets whether the entity is currently breathing. If false, it will cause the entity's air supply to be used. For players, this also shows the oxygen bar.
Definition at line 743 of file Living.php.
|
inherited |
Sets whether the entity is able to climb climbable blocks.
Definition at line 376 of file Entity.php.
|
inherited |
Sets whether the entity is climbing a block. If true, the entity can climb anything.
Definition at line 391 of file Entity.php.
|
inherited |
Sets whether this entity will be saved when its chunk is unloaded. This can be used to prevent the entity being saved to disk.
Reimplemented in pocketmine\player\Player.
Definition at line 468 of file Entity.php.
|
inherited |
Definition at line 1068 of file Entity.php.
|
inherited |
|
finalinherited |
Flags the entity as needing a movement update on the next tick. Setting this forces a movement update even if the entity's motion is zero. Used to trigger movement updates when blocks change near entities.
Definition at line 1047 of file Entity.php.
|
inherited |
Definition at line 258 of file Living.php.
|
inherited |
Definition at line 811 of file Entity.php.
|
inherited |
Definition at line 820 of file Entity.php.
|
inherited |
Sets the health of the Entity. This won't send any update to the players
Reimplemented from pocketmine\entity\Entity.
Definition at line 205 of file Living.php.
Referenced by pocketmine\entity\effect\HealthBoostEffect\remove().
|
inherited |
Definition at line 352 of file Entity.php.
|
inherited |
Definition at line 619 of file Entity.php.
|
inherited |
Sets the maximum amount of air ticks the air supply can hold.
Definition at line 774 of file Living.php.
|
inherited |
Reimplemented from pocketmine\entity\Entity.
Definition at line 218 of file Living.php.
|
inherited |
Definition at line 1402 of file Entity.php.
|
inherited |
Definition at line 290 of file Living.php.
|
inherited |
Definition at line 264 of file Entity.php.
|
inherited |
Definition at line 274 of file Entity.php.
|
inherited |
Definition at line 269 of file Entity.php.
|
inherited |
Things such as movement in water, burning, etc. may be predicted by the client. This is sometimes not desirable, since server-side logic may differ from client-side prediction. However, things like movement smoothing (interpolation) are also controlled by this, so it should be used with care.
Setting this flag will also disable player movement inputs, but this should not be relied on, as cheat clients will be able to bypass it.
Definition at line 343 of file Entity.php.
|
inherited |
Reimplemented from pocketmine\entity\Entity.
Definition at line 419 of file Living.php.
|
inherited |
Sets the owner of the entity. Passing null will remove the current owner.
InvalidArgumentException if the supplied entity is not valid
Definition at line 415 of file Entity.php.
|
protectedinherited |
Definition at line 1343 of file Entity.php.
|
protectedinherited |
Definition at line 1383 of file Entity.php.
|
inherited |
Definition at line 1375 of file Entity.php.
|
inherited |
Definition at line 292 of file Entity.php.
|
inherited |
Definition at line 283 of file Entity.php.
|
inherited |
Definition at line 361 of file Entity.php.
|
protectedinherited |
Definition at line 321 of file Entity.php.
|
inherited |
Definition at line 234 of file Living.php.
|
inherited |
Definition at line 244 of file Living.php.
|
inherited |
Definition at line 268 of file Living.php.
|
inherited |
Sets the entity's target entity. Passing null will remove the current target.
InvalidArgumentException if the target entity is not valid
Definition at line 446 of file Entity.php.
|
inherited |
Definition at line 1510 of file Entity.php.
|
inherited |
Definition at line 1522 of file Entity.php.
|
protectedinherited |
Definition at line 642 of file Living.php.
|
protectedinherited |
Reimplemented from pocketmine\entity\Living.
Definition at line 46 of file WaterAnimal.php.
|
inherited |
Vector3 | Position | Location | $pos |
Reimplemented in pocketmine\player\Player.
Definition at line 1438 of file Entity.php.
Referenced by pocketmine\item\ChorusFruit\onConsume().
|
protectedinherited |
Definition at line 828 of file Entity.php.
|
protectedinherited |
Definition at line 1076 of file Entity.php.
|
protectedinherited |
Definition at line 755 of file Entity.php.
|
protectedinherited |
Definition at line 122 of file Living.php.
|
protectedinherited |
Definition at line 169 of file Entity.php.
|
protectedinherited |
Definition at line 115 of file Living.php.
|
protectedinherited |
Definition at line 106 of file Living.php.
|
protectedinherited |
Definition at line 151 of file Entity.php.
|
protectedinherited |
Definition at line 31 of file WaterAnimal.php.
|
protectedinherited |
Definition at line 116 of file Entity.php.
|
inherited |
Definition at line 125 of file Entity.php.
|
protectedinherited |
Definition at line 117 of file Living.php.
|
protectedinherited |
Definition at line 118 of file Living.php.
|
protectedinherited |
Definition at line 173 of file Entity.php.
|
protectedinherited |
Definition at line 174 of file Entity.php.
|
protectedinherited |
Definition at line 159 of file Entity.php.
|
inherited |
Definition at line 108 of file Living.php.
|
protectedinherited |
Definition at line 154 of file Entity.php.
|
protectedinherited |
Definition at line 113 of file Living.php.
|
inherited |
Definition at line 137 of file Entity.php.
|
protectedinherited |
Definition at line 140 of file Entity.php.
|
protectedinherited |
Definition at line 122 of file Entity.php.
|
protectedinherited |
Definition at line 128 of file Living.php.
|
protectedinherited |
Definition at line 153 of file Entity.php.
|
protectedinherited |
Definition at line 155 of file Entity.php.
|
protectedinherited |
Definition at line 107 of file Entity.php.
|
protectedinherited |
Definition at line 121 of file Living.php.
|
protectedinherited |
Definition at line 109 of file Entity.php.
|
protectedinherited |
Definition at line 176 of file Entity.php.
|
inherited |
Definition at line 144 of file Entity.php.
|
inherited |
Definition at line 145 of file Entity.php.
|
inherited |
Definition at line 146 of file Entity.php.
|
protectedinherited |
Definition at line 111 of file Living.php.
|
protectedinherited |
Definition at line 149 of file Entity.php.
|
inherited |
Definition at line 135 of file Entity.php.
|
protectedinherited |
Definition at line 123 of file Living.php.
|
protectedinherited |
Definition at line 113 of file Entity.php.
|
protectedinherited |
Definition at line 119 of file Entity.php.
|
protectedinherited |
Definition at line 121 of file Entity.php.
|
inherited |
Definition at line 139 of file Entity.php.
|
protectedinherited |
Definition at line 118 of file Entity.php.
|
protectedinherited |
Definition at line 119 of file Living.php.
|
protectedinherited |
Definition at line 109 of file Living.php.
|
protectedinherited |
Definition at line 120 of file Entity.php.
|
protectedinherited |
Definition at line 124 of file Living.php.
|
protectedinherited |
Definition at line 167 of file Entity.php.
|
protectedinherited |
Definition at line 168 of file Entity.php.
|
protectedinherited |
Definition at line 165 of file Entity.php.
|
protectedinherited |
Definition at line 175 of file Entity.php.
|
inherited |
Definition at line 148 of file Entity.php.
|
inherited |
Definition at line 126 of file Entity.php.
|
protectedinherited |
Definition at line 179 of file Entity.php.
|
protectedinherited |
Definition at line 171 of file Entity.php.
|
protectedinherited |
Definition at line 170 of file Entity.php.
|
protectedinherited |
Definition at line 157 of file Entity.php.
|
protectedinherited |
Definition at line 177 of file Entity.php.
|
inherited |
Definition at line 128 of file Entity.php.
|
protectedinherited |
Definition at line 127 of file Living.php.
|
protectedinherited |
Definition at line 126 of file Living.php.
|
protectedinherited |
Definition at line 134 of file Entity.php.
|
protectedinherited |
Definition at line 129 of file Living.php.
|
protectedinherited |
Definition at line 180 of file Entity.php.
|
inherited |
Definition at line 138 of file Entity.php.
|
protectedinherited |
Definition at line 163 of file Entity.php.
|
protectedinherited |
Definition at line 133 of file Entity.php.
|
protectedinherited |
Definition at line 83 of file Living.php.
|
inherited |
The default knockback multiplier when an entity is hit by another entity. Larger values knock the entity back with increased velocity.
Definition at line 89 of file Living.php.
|
inherited |
Limit of an entity's vertical knockback velocity when hit by another entity. Without this limit, the entity may be knocked far up into the air with large knockback forces.
Definition at line 94 of file Living.php.
|
inherited |
Definition at line 85 of file Entity.php.
|
protectedinherited |
Definition at line 86 of file Entity.php.
|
inherited |
Definition at line 94 of file Entity.php.
|
inherited |
Definition at line 93 of file Entity.php.
|
inherited |
Definition at line 95 of file Entity.php.