Entity statuses: Difference between revisions
imported>Minenash m →Player: Fixed link to Debug Screen |
imported>LaserSlimeHD m Made the names match the mojang names and made them more consistent. |
||
| Line 10: | Line 10: | ||
|- | |- | ||
| 0 | | 0 | ||
| [[# | | [[#Tipped Arrow|Tipped Arrow]] | ||
|- | |- | ||
| 1 | | 1 | ||
| [[#Rabbit|Rabbit]], [[# | | [[#Rabbit|Rabbit]], [[#Minecart Spawner|Minecart Spawner]] | ||
|- | |- | ||
| 2 | | 2 | ||
| [[#Living|Living]] | | [[#Living Entity|Living Entity]] | ||
|- | |- | ||
| 3 | | 3 | ||
| [[#Snowball|Snowball]], [[#Egg|Egg]], [[#Living|Living]] | | [[#Snowball|Snowball]], [[#Thrown Egg|Thrown Egg]], [[#Living Entity|Living Entity]] | ||
|- | |- | ||
| 4 | | 4 | ||
| [[# | | [[#Iron Golem|Iron Golem]], [[#Evoker Fangs|Evoker Fangs]], [[#Ravager|Ravager]] | ||
|- | |- | ||
| 5 | | 5 | ||
| Line 28: | Line 28: | ||
|- | |- | ||
| 6 | | 6 | ||
| [[# | | [[#Abstract Horse|Abstract Horse]], [[#Tameable Animal|Tameable Animal]] | ||
|- | |- | ||
| 7 | | 7 | ||
| [[# | | [[#Abstract Horse|Abstract Horse]], [[#Tameable Animal|Tameable Animal]] | ||
|- | |- | ||
| 8 | | 8 | ||
| Line 37: | Line 37: | ||
|- | |- | ||
| 9 | | 9 | ||
| [[#Living|Living]] | | [[#Living Entity|Living Entity]] | ||
|- | |- | ||
| 10 | | 10 | ||
| [[#Sheep|Sheep]], [[# | | [[#Sheep|Sheep]], [[#Minecart TNT|Minecart TNT]] | ||
|- | |- | ||
| 11 | | 11 | ||
| [[# | | [[#Iron Golem|Iron Golem]] | ||
|- | |- | ||
| 12 | | 12 | ||
| Line 61: | Line 61: | ||
|- | |- | ||
| 17 | | 17 | ||
| [[# | | [[#Firework Rocket Entity|Firework Rocket Entity]] | ||
|- | |- | ||
| 18 | | 18 | ||
| Line 70: | Line 70: | ||
|- | |- | ||
| 20 | | 20 | ||
| [[# | | [[#Mob|Mob]] | ||
|- | |- | ||
| 21 | | 21 | ||
| Line 97: | Line 97: | ||
|- | |- | ||
| 29 | | 29 | ||
| [[#Living|Living]] | | [[#Living Entity|Living Entity]] | ||
|- | |- | ||
| 30 | | 30 | ||
| [[#Living|Living]] | | [[#Living Entity|Living Entity]] | ||
|- | |- | ||
| 31 | | 31 | ||
| [[# | | [[#Fishing Hook|Fishing Hook]] | ||
|- | |- | ||
| 32 | | 32 | ||
| [[# | | [[#Armor Stand|Armor Stand]] | ||
|- | |- | ||
| 33 | | 33 | ||
| [[#Living|Living]] | | [[#Living Entity|Living Entity]] | ||
|- | |- | ||
| 34 | | 34 | ||
| [[# | | [[#Iron Golem|Iron Golem]] | ||
|- | |- | ||
| 35 | | 35 | ||
| Line 118: | Line 118: | ||
|- | |- | ||
| 36 | | 36 | ||
| [[#Living|Living]] | | [[#Living Entity|Living Entity]] | ||
|- | |- | ||
| 37 | | 37 | ||
| [[#Living|Living]] | | [[#Living Entity|Living Entity]] | ||
|- | |- | ||
| 38 | | 38 | ||
| Line 142: | Line 142: | ||
|- | |- | ||
| 44 | | 44 | ||
| [[#Living|Living]] | | [[#Living Entity|Living Entity]] | ||
|- | |- | ||
| 45 | | 45 | ||
| Line 148: | Line 148: | ||
|- | |- | ||
| 46 | | 46 | ||
| [[#Living|Living]] | | [[#Living Entity|Living Entity]] | ||
|- | |- | ||
| 47 | | 47 | ||
| [[#Living|Living]] | | [[#Living Entity|Living Entity]] | ||
|- | |- | ||
| 48 | | 48 | ||
| [[#Living|Living]] | | [[#Living Entity|Living Entity]] | ||
|- | |- | ||
| 49 | | 49 | ||
| [[#Living|Living]] | | [[#Living Entity|Living Entity]] | ||
|- | |- | ||
| 50 | | 50 | ||
| [[#Living|Living]] | | [[#Living Entity|Living Entity]] | ||
|- | |- | ||
| 51 | | 51 | ||
| [[#Living|Living]] | | [[#Living Entity|Living Entity]] | ||
|- | |- | ||
| 52 | | 52 | ||
| [[#Living|Living]] | | [[#Living Entity|Living Entity]] | ||
|} | |} | ||
| Line 199: | Line 199: | ||
|} | |} | ||
=== [[Entity metadata#Egg|Egg]] === | === [[Entity metadata#Thrown Egg|Thrown Egg]] === | ||
Extends [[#Projectile|Projectile]]. | Extends [[#Projectile|Projectile]]. | ||
| Line 211: | Line 211: | ||
|} | |} | ||
=== [[Entity metadata# | === [[Entity metadata#Fishing Hook|Fishing Hook]] === | ||
Extends [[#Entity|Entity]]. | Extends [[#Entity|Entity]]. | ||
| Line 227: | Line 227: | ||
Extends [[#Entity|Entity]]. | Extends [[#Entity|Entity]]. | ||
Abstract base class for [[# | Abstract base class for [[#Tipped Arrow|Tipped Arrow]] (which is used for regular arrows as well as tipped ones) and Spectral Arrow. | ||
=== [[Entity metadata# | === [[Entity metadata#Tipped Arrow|Tipped Arrow]] === | ||
Extends [[#Arrow|Arrow]]. | Extends [[#Arrow|Arrow]]. | ||
| Line 241: | Line 241: | ||
|} | |} | ||
=== [[Entity metadata# | === [[Entity metadata#Firework Rocket Entity|Firework Rocket Entity]] === | ||
Extends [[#Entity|Entity]]. | Extends [[#Entity|Entity]]. | ||
| Line 253: | Line 253: | ||
|} | |} | ||
=== [[Entity metadata#Living|Living]] === | === [[Entity metadata#Living Entity|Living Entity]] === | ||
Extends [[#Entity|Entity]]. | Extends [[#Entity|Entity]]. | ||
| Line 309: | Line 309: | ||
=== [[Entity metadata#Player|Player]] === | === [[Entity metadata#Player|Player]] === | ||
Extends [[#Living|Living]]. | Extends [[#Living Entity|Living Entity]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 356: | Line 356: | ||
|} | |} | ||
=== [[Entity metadata# | === [[Entity metadata#Armor Stand|Armor Stand]] === | ||
Extends [[#Living|Living]]. | Extends [[#Living Entity|Living Entity]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 368: | Line 368: | ||
|} | |} | ||
=== [[Entity metadata# | === [[Entity metadata#Mob|Mob]] === | ||
Extends [[#Living|Living]]. | Extends [[#Living Entity|Living Entity]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 383: | Line 383: | ||
|} | |} | ||
=== [[Entity metadata# | === [[Entity metadata#Water Animal|Water Animal]] === | ||
Extends [[# | Extends [[#Mob|Mob]]. | ||
No additional statuses. | No additional statuses. | ||
| Line 391: | Line 391: | ||
=== [[Entity metadata#Squid|Squid]] === | === [[Entity metadata#Squid|Squid]] === | ||
Extends [[# | Extends [[#Water Animal|Water Animal]] | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 403: | Line 403: | ||
=== [[Entity metadata#Dolphin|Dolphin]] === | === [[Entity metadata#Dolphin|Dolphin]] === | ||
Extends [[# | Extends [[#Water Animal|Water Animal]] | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 413: | Line 413: | ||
|} | |} | ||
=== [[Entity metadata# | === [[Entity metadata#Pathfinder Mob|Pathfinder Mob]] === | ||
Extends [[# | Extends [[#Mob|Mob]]. | ||
No additional statuses. | No additional statuses. | ||
| Line 421: | Line 421: | ||
=== [[Entity metadata#Ageable|Ageable]] === | === [[Entity metadata#Ageable|Ageable]] === | ||
Extends [[# | Extends [[#Pathfinder Mob|Pathfinder Mob]]. | ||
No additional statuses. | No additional statuses. | ||
| Line 437: | Line 437: | ||
|} | |} | ||
=== [[Entity metadata# | === [[Entity metadata#Abstract Horse|Abstract Horse]] === | ||
Extends [[#Animal|Animal]]. | Extends [[#Animal|Animal]]. | ||
| Line 503: | Line 503: | ||
|} | |} | ||
=== [[Entity metadata# | === [[Entity metadata#Tameable Animal|Tameable Animal]] === | ||
Extends [[#Animal|Animal]]. | Extends [[#Animal|Animal]]. | ||
| Line 520: | Line 520: | ||
=== [[Entity metadata#Wolf|Wolf]] === | === [[Entity metadata#Wolf|Wolf]] === | ||
Extends [[# | Extends [[#Tameable Animal|Tameable Animal]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 553: | Line 553: | ||
=== [[Entity metadata#Golem|Golem]] === | === [[Entity metadata#Golem|Golem]] === | ||
Extends [[# | Extends [[#Pathfinder Mob|Pathfinder Mob]]. | ||
No additional statuses. | No additional statuses. | ||
=== [[Entity metadata# | === [[Entity metadata#Iron Golem|Iron Golem]] === | ||
Extends [[#Golem|Golem]]. | Extends [[#Golem|Golem]]. | ||
| Line 575: | Line 575: | ||
|} | |} | ||
=== [[Entity metadata# | === [[Entity metadata#Evoker Fangs|Evoker Fangs]] === | ||
Extends [[#Entity|Entity]]. | Extends [[#Entity|Entity]]. | ||
| Line 589: | Line 589: | ||
=== [[Entity metadata#Monster|Monster]] === | === [[Entity metadata#Monster|Monster]] === | ||
Extends [[# | Extends [[#Pathfinder Mob|Pathfinder Mob]]. | ||
No additional statuses. | No additional statuses. | ||
| Line 648: | Line 648: | ||
|} | |} | ||
=== [[Entity metadata# | === [[Entity metadata#Elder Guardian|Elder Guardian]] === | ||
Extends [[#Guardian|Guardian]]. | Extends [[#Guardian|Guardian]]. | ||
| Line 660: | Line 660: | ||
No additional statuses. | No additional statuses. | ||
=== [[Entity metadata# | === [[Entity metadata#Minecart TNT|Minecart TNT]] === | ||
Extends [[#Minecart|Minecart]]. | Extends [[#Minecart|Minecart]]. | ||
| Line 672: | Line 672: | ||
|} | |} | ||
=== [[Entity metadata# | === [[Entity metadata#Minecart Spawner|Minecart Spawner]] === | ||
Extends [[#Minecart|Minecart]]. | Extends [[#Minecart|Minecart]]. | ||
Revision as of 18:45, 15 July 2020
This article lists entity status codes, by entity. These are used in the Entity Status packet.
Status table
The following table links to the appropriate entity for each status.
| Status code | Entity(/ies) |
|---|---|
| 0 | Tipped Arrow |
| 1 | Rabbit, Minecart Spawner |
| 2 | Living Entity |
| 3 | Snowball, Thrown Egg, Living Entity |
| 4 | Iron Golem, Evoker Fangs, Ravager |
| 5 | None |
| 6 | Abstract Horse, Tameable Animal |
| 7 | Abstract Horse, Tameable Animal |
| 8 | Wolf |
| 9 | Living Entity |
| 10 | Sheep, Minecart TNT |
| 11 | Iron Golem |
| 12 | Villager |
| 13 | Villager |
| 14 | Villager |
| 15 | Witch |
| 16 | Zombie Villager |
| 17 | Firework Rocket Entity |
| 18 | Animal |
| 19 | Squid |
| 20 | Mob |
| 21 | Guardian |
| 22 | Player |
| 23 | Player |
| 24 | Player |
| 25 | Player |
| 26 | Player |
| 27 | Player |
| 28 | Player |
| 29 | Living Entity |
| 30 | Living Entity |
| 31 | Fishing Hook |
| 32 | Armor Stand |
| 33 | Living Entity |
| 34 | Iron Golem |
| 35 | Entity |
| 36 | Living Entity |
| 37 | Living Entity |
| 38 | Dolphin |
| 39 | Ravager |
| 40 | Ocelot |
| 41 | Ocelot |
| 42 | Villager |
| 43 | Player |
| 44 | Living Entity |
| 45 | Fox |
| 46 | Living Entity |
| 47 | Living Entity |
| 48 | Living Entity |
| 49 | Living Entity |
| 50 | Living Entity |
| 51 | Living Entity |
| 52 | Living Entity |
Entity statuses
| Status | Description | |
|---|---|---|
| 35 | Plays the Totem of Undying animation | |
Extends Entity.
No additional statuses.
Extends Projectile.
| Status | Description | |
|---|---|---|
| 3 | Displays 8 snowballpoof particles at the snowball's location
| |
Extends Projectile.
| Status | Description | |
|---|---|---|
| 3 | Displays 8 iconcrack particles with the egg as a parameter at the egg's location
| |
Extends Entity.
| Status | Description | |
|---|---|---|
| 31 | If the caught entity is the connected player, then cause them to be pulled toward the caster of the fishing rod. | |
Extends Entity.
Abstract base class for Tipped Arrow (which is used for regular arrows as well as tipped ones) and Spectral Arrow.
Extends Arrow.
| Status | Description | |
|---|---|---|
| 0 | Spawns tipped arrow particle effects, if the color is not -1. | |
Extends Entity.
| Status | Description | |
|---|---|---|
| 17 | Triggers the firework explosion effect (based off of the firework info metadata) | |
Extends Entity.
| Status | Description | |
|---|---|---|
| 2 | Plays the hurt animation and hurt sound | |
| 3 | Plays the death sound and death animation | |
| 29 | Plays the shield block sound | |
| 30 | Plays the shield break sound | |
| 33 | Plays the thorns sound in addition to playing the hurt animation and hurt sound | |
| 36 | Plays the hurt animation and drown hurt sound | |
| 37 | Plays the hurt animation and burn hurt sound | |
| 44 | Plays the hurt animation and sweet berry bush hurt sound | |
| 46 | Spawns portal particles when teleporting due to consumption of a chorus fruit or being an endermen | |
| 47 | Plays the equipment break sound (unless silent) and spawns break particles for the item in the main hand | |
| 48 | Plays the equipment break sound (unless silent) and spawns break particles for the item in the off hand | |
| 49 | Plays the equipment break sound (unless silent) and spawns break particles for the item in the head slot | |
| 50 | Plays the equipment break sound (unless silent) and spawns break particles for the item in the chest slot | |
| 51 | Plays the equipment break sound (unless silent) and spawns break particles for the item in the legs slot | |
| 52 | Plays the equipment break sound (unless silent) and spawns break particles for the item in the feet slot | |
Extends Living Entity.
| Status | Description | |
|---|---|---|
| 9 | Marks item use as finished (finished eating, finished drinking, etc)
This status is not required if you want more control on the server side, this basicly finishes the interaction on the client side to decrease the food quantity, arrow quantity, ... But you can trigger these changes manually through other packets or prevent those changes on the client. Examples:
Note: This works together with the 'Hand data' so this will have to be updated accordingly to 'finish' the interaction manually. | |
| 22 | Enables reduced debug screen information | |
| 23 | Disables reduced debug screen information | |
| 24 | Set op permission level to 0 | |
| 25 | Set op permission level to 1 | |
| 26 | Set op permission level to 2 | |
| 27 | Set op permission level to 3 | |
| 28 | Set op permission level to 4 | |
| 43 | Spawn cloud particles at the player. Sent to a player whose Bad Omen effect is removed to either start a raid or increase its difficulty. | |
Extends Living Entity.
| Status | Description | |
|---|---|---|
| 32 | Plays the hit sound, and resets a hit cooldown. | |
Extends Living Entity.
| Status | Description | |
|---|---|---|
| 20 | Spawn explosion particle. Used when:
| |
Extends Mob.
No additional statuses.
Extends Water Animal
| Status | Description | |
|---|---|---|
| 19 | Resets the squid's rotation to 0 radians. Occurs whenever the server calculates that the squid has rotated more than 2 pi radians. | |
Extends Water Animal
| Status | Description | |
|---|---|---|
| 38 | Causes several "happy villager" particles to appear; used when the dolphin has been fed and is locating a structure | |
Extends Mob.
No additional statuses.
Extends Pathfinder Mob.
No additional statuses.
Extends Ageable.
| Status | Description | |
|---|---|---|
| 18 | Spawn "love mode" heart particles | |
Extends Animal.
| Status | Description | |
|---|---|---|
| 6 | Spawn smoke particles (taming failed) | |
| 7 | Spawn heart particles (taming succeeded) | |
Extends Animal.
| Status | Description | |
|---|---|---|
| 40 | Spawn smoke particles (taming failed) | |
| 41 | Spawn heart particles (taming succeeded) | |
Extends Animal.
| Status | Description | |
|---|---|---|
| 1 | Causes the rabbit to use its rotated jumping animation, and displays jumping particles. | |
Extends Animal.
| Status | Description | |
|---|---|---|
| 10 | Causes the sheep to play the eating grass animation for the next 40 ticks | |
Extends Animal.
| Status | Description | |
|---|---|---|
| 45 | Spawns particles based on the item on the fox's mouth (technically its main hand) to indicate them chewing on it | |
Extends Animal.
| Status | Description | |
|---|---|---|
| 6 | Spawn smoke particles (taming failed) | |
| 7 | Spawn heart particles (taming succeeded) | |
Extends Tameable Animal.
| Status | Description | |
|---|---|---|
| 8 | Play wolf shaking water animation | |
Extends Ageable.
| Status | Description | |
|---|---|---|
| 12 | Spawn villager mating heart particles | |
| 13 | Spawn villager angry particles | |
| 14 | Spawn villager happy particles | |
| 42 | Spawn "splash" particles. Triggered with 1% chance each tick while a raid is active. | |
Extends Pathfinder Mob.
No additional statuses.
Extends Golem.
| Status | Description | |
|---|---|---|
| 4 | Plays attack animation and attack sound | |
| 11 | Causes golem to hold out a | |
| 34 | Puts away golem's poppy | |
Extends Entity.
| Status | Description | |
|---|---|---|
| 4 | Starts the attack animation, and plays the entity.evocation_fangs.attack sound.
| |
Extends Pathfinder Mob.
No additional statuses.
Extends Monster.
| Status | Description | |
|---|---|---|
| 15 | Spawns between 10 and 45 witchMagic particles. This status has a .075% chance of happening each tick.
| |
Extends Monster.
| Status | Description | |
|---|---|---|
| 4 | Starts the attack animation. | |
| 39 | Marks the ravager as stunned for the next 40 ticks. | |
Extends Monster.
Extends Zombie.
| Status | Description | |
|---|---|---|
| 16 | Plays the zombie cure finished sound effect (unless the entity is silent) | |
Extends Monster.
| Status | Description | |
|---|---|---|
| 21 | Plays the guardian attack sound effect from this entity. | |
Extends Guardian.
Extends Entity.
No additional statuses.
Extends Minecart.
| Status | Description | |
|---|---|---|
| 10 | Causes the TNT to ignite. Does not play a sound; the sound must be played separately. | |
Extends Minecart.
| Status | Description | |
|---|---|---|
| 1 | Resets the delay of the spawner to 200 ticks (the default minimum value). | |