Difference between revisions of "Entity statuses"
(Extended classes) |
m (→Player) |
||
(35 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
− | === [[ | + | This article lists '''entity status codes''', by entity. These are used in the [[Protocol#Entity_Event|Entity Event packet]]. |
+ | |||
+ | == Status table == | ||
+ | |||
+ | The following table links to the appropriate entity for each status. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Status code | ||
+ | ! Entity(/ies) | ||
+ | |- | ||
+ | | 0 | ||
+ | | [[#Arrow|Arrow]] | ||
+ | |- | ||
+ | | 1 | ||
+ | | [[#Minecart Spawner|Minecart Spawner]], [[#Rabbit|Rabbit]] | ||
+ | |- | ||
+ | | 2 | ||
+ | | None | ||
+ | |- | ||
+ | | 3 | ||
+ | | [[#Egg|Egg]], [[#Living Entity|Living Entity]], [[#Snowball|Snowball]] | ||
+ | |- | ||
+ | | 4 | ||
+ | | [[#Evoker Fangs|Evoker Fangs]], [[#Hoglin|Hoglin]], [[#Iron Golem|Iron Golem]], [[#Ravager|Ravager]], [[#Warden|Warden]], [[#Zoglin|Zoglin]] | ||
+ | |- | ||
+ | | 5 | ||
+ | | None | ||
+ | |- | ||
+ | | 6 | ||
+ | | [[#Abstract Horse|Abstract Horse]], [[#Tameable Animal|Tameable Animal]] | ||
+ | |- | ||
+ | | 7 | ||
+ | | [[#Abstract Horse|Abstract Horse]], [[#Tameable Animal|Tameable Animal]] | ||
+ | |- | ||
+ | | 8 | ||
+ | | [[#Wolf|Wolf]] | ||
+ | |- | ||
+ | | 9 | ||
+ | | [[#Player|Player]] | ||
+ | |- | ||
+ | | 10 | ||
+ | | [[#Minecart TNT|Minecart TNT]], [[#Sheep|Sheep]] | ||
+ | |- | ||
+ | | 11 | ||
+ | | [[#Iron Golem|Iron Golem]] | ||
+ | |- | ||
+ | | 12 | ||
+ | | [[#Villager|Villager]] | ||
+ | |- | ||
+ | | 13 | ||
+ | | [[#Villager|Villager]] | ||
+ | |- | ||
+ | | 14 | ||
+ | | [[#Villager|Villager]] | ||
+ | |- | ||
+ | | 15 | ||
+ | | [[#Witch|Witch]] | ||
+ | |- | ||
+ | | 16 | ||
+ | | [[#Zombie Villager|Zombie Villager]] | ||
+ | |- | ||
+ | | 17 | ||
+ | | [[#Firework Rocket|Firework Rocket]] | ||
+ | |- | ||
+ | | 18 | ||
+ | | [[#Allay|Allay]], [[#Animal|Animal]] | ||
+ | |- | ||
+ | | 19 | ||
+ | | [[#Squid|Squid]] | ||
+ | |- | ||
+ | | 20 | ||
+ | | [[#Mob|Mob]] | ||
+ | |- | ||
+ | | 21 | ||
+ | | [[#Guardian|Guardian]] | ||
+ | |- | ||
+ | | 22 | ||
+ | | [[#Player|Player]] | ||
+ | |- | ||
+ | | 23 | ||
+ | | [[#Player|Player]] | ||
+ | |- | ||
+ | | 24 | ||
+ | | [[#Player|Player]] | ||
+ | |- | ||
+ | | 25 | ||
+ | | [[#Player|Player]] | ||
+ | |- | ||
+ | | 26 | ||
+ | | [[#Player|Player]] | ||
+ | |- | ||
+ | | 27 | ||
+ | | [[#Player|Player]] | ||
+ | |- | ||
+ | | 28 | ||
+ | | [[#Player|Player]] | ||
+ | |- | ||
+ | | 29 | ||
+ | | [[#Living Entity|Living Entity]] | ||
+ | |- | ||
+ | | 30 | ||
+ | | [[#Living Entity|Living Entity]] | ||
+ | |- | ||
+ | | 31 | ||
+ | | [[#Fishing Hook|Fishing Hook]] | ||
+ | |- | ||
+ | | 32 | ||
+ | | [[#Armor Stand|Armor Stand]] | ||
+ | |- | ||
+ | | 33 | ||
+ | | None | ||
+ | |- | ||
+ | | 34 | ||
+ | | [[#Iron Golem|Iron Golem]] | ||
+ | |- | ||
+ | | 35 | ||
+ | | [[#Living Entity|Living Entity]] | ||
+ | |- | ||
+ | | 36 | ||
+ | | None | ||
+ | |- | ||
+ | | 37 | ||
+ | | None | ||
+ | |- | ||
+ | | 38 | ||
+ | | [[#Dolphin|Dolphin]] | ||
+ | |- | ||
+ | | 39 | ||
+ | | [[#Ravager|Ravager]] | ||
+ | |- | ||
+ | | 40 | ||
+ | | [[#Ocelot|Ocelot]] | ||
+ | |- | ||
+ | | 41 | ||
+ | | [[#Ocelot|Ocelot]] | ||
+ | |- | ||
+ | | 42 | ||
+ | | [[#Villager|Villager]] | ||
+ | |- | ||
+ | | 43 | ||
+ | | [[#Player|Player]] | ||
+ | |- | ||
+ | | 44 | ||
+ | | None | ||
+ | |- | ||
+ | | 45 | ||
+ | | [[#Fox|Fox]] | ||
+ | |- | ||
+ | | 46 | ||
+ | | [[#Living Entity|Living Entity]] | ||
+ | |- | ||
+ | | 47 | ||
+ | | [[#Living Entity|Living Entity]] | ||
+ | |- | ||
+ | | 48 | ||
+ | | [[#Living Entity|Living Entity]] | ||
+ | |- | ||
+ | | 49 | ||
+ | | [[#Living Entity|Living Entity]] | ||
+ | |- | ||
+ | | 50 | ||
+ | | [[#Living Entity|Living Entity]] | ||
+ | |- | ||
+ | | 51 | ||
+ | | [[#Living Entity|Living Entity]] | ||
+ | |- | ||
+ | | 52 | ||
+ | | [[#Living Entity|Living Entity]] | ||
+ | |- | ||
+ | | 53 | ||
+ | | [[#Entity|Entity]] | ||
+ | |- | ||
+ | | 54 | ||
+ | | [[#Living Entity|Living Entity]] | ||
+ | |- | ||
+ | | 55 | ||
+ | | [[#Living Entity|Living Entity]] | ||
+ | |- | ||
+ | | 56 | ||
+ | | [[#Wolf|Wolf]] | ||
+ | |- | ||
+ | | 57 | ||
+ | | None | ||
+ | |- | ||
+ | | 58 | ||
+ | | [[#Goat|Goat]] | ||
+ | |- | ||
+ | | 59 | ||
+ | | [[#Goat|Goat]] | ||
+ | |- | ||
+ | | 60 | ||
+ | | [[#Living Entity|Living Entity]] | ||
+ | |- | ||
+ | | 61 | ||
+ | | [[#Warden|Warden]] | ||
+ | |- | ||
+ | | 62 | ||
+ | | [[#Warden|Warden]] | ||
+ | |- | ||
+ | | 63 | ||
+ | | [[#Sniffer|Sniffer]] | ||
+ | |} | ||
+ | |||
+ | == Entity statuses == | ||
+ | |||
+ | === [[Entity metadata#Entity|Entity]] === | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 5: | Line 210: | ||
!colspan="2"| Description | !colspan="2"| Description | ||
|- | |- | ||
− | | | + | | 53 |
− | |colspan="2"| | + | |colspan="2"| Spawns honey block slide particles at the entities feet |
|} | |} | ||
Line 15: | Line 220: | ||
No additional statuses. | No additional statuses. | ||
− | === [[ | + | === [[Entity metadata#Snowball|Snowball]] === |
Extends [[#Projectile|Projectile]]. | Extends [[#Projectile|Projectile]]. | ||
Line 27: | Line 232: | ||
|} | |} | ||
− | === [[ | + | === [[Entity metadata#Egg|Egg]] === |
Extends [[#Projectile|Projectile]]. | Extends [[#Projectile|Projectile]]. | ||
Line 39: | Line 244: | ||
|} | |} | ||
− | === [[ | + | === [[Entity metadata#Fishing Hook|Fishing Hook]] === |
Extends [[#Entity|Entity]]. | Extends [[#Entity|Entity]]. | ||
Line 51: | Line 256: | ||
|} | |} | ||
− | === [[Entity metadata#Arrow|Arrow]] === | + | === [[Entity metadata#Abstract Arrow|Abstract Arrow]] === |
Extends [[#Entity|Entity]]. | Extends [[#Entity|Entity]]. | ||
− | Abstract base class for [[# | + | Abstract base class for [[#Arrow|Arrow]] (which is used for regular arrows as well as tipped ones) and Spectral Arrow. |
− | === [[ | + | === [[Entity metadata#Arrow|Arrow]] === |
Extends [[#Arrow|Arrow]]. | Extends [[#Arrow|Arrow]]. | ||
Line 69: | Line 274: | ||
|} | |} | ||
− | === [[ | + | === [[Entity metadata#Firework Rocket|Firework Rocket]] === |
Extends [[#Entity|Entity]]. | Extends [[#Entity|Entity]]. | ||
Line 78: | Line 283: | ||
|- | |- | ||
| 17 | | 17 | ||
− | |colspan="2"| Triggers the firework explosion effect (based | + | |colspan="2"| Triggers the firework explosion effect (based on the firework info metadata) |
|} | |} | ||
− | === [[ | + | === [[Entity metadata#Living Entity|Living Entity]] === |
Extends [[#Entity|Entity]]. | Extends [[#Entity|Entity]]. | ||
Line 88: | Line 293: | ||
! Status | ! Status | ||
!colspan="2"| Description | !colspan="2"| Description | ||
− | |||
− | |||
− | |||
|- | |- | ||
| 3 | | 3 | ||
Line 101: | Line 303: | ||
|colspan="2"| Plays the shield break sound | |colspan="2"| Plays the shield break sound | ||
|- | |- | ||
− | | | + | | 35 |
− | |colspan="2"| Plays the | + | |colspan="2"| Plays totem of undying animation and sound |
+ | |- | ||
+ | | 46 | ||
+ | |colspan="2"| Spawns portal particles when teleporting due to consumption of a chorus fruit or being an endermen | ||
+ | |- | ||
+ | | 47 | ||
+ | |colspan="2"| Plays the equipment break sound (unless silent) and spawns break particles for the item in the main hand | ||
+ | |- | ||
+ | | 48 | ||
+ | |colspan="2"| Plays the equipment break sound (unless silent) and spawns break particles for the item in the off hand | ||
+ | |- | ||
+ | | 49 | ||
+ | |colspan="2"| Plays the equipment break sound (unless silent) and spawns break particles for the item in the head slot | ||
+ | |- | ||
+ | | 50 | ||
+ | |colspan="2"| Plays the equipment break sound (unless silent) and spawns break particles for the item in the chest slot | ||
+ | |- | ||
+ | | 51 | ||
+ | |colspan="2"| Plays the equipment break sound (unless silent) and spawns break particles for the item in the legs slot | ||
+ | |- | ||
+ | | 52 | ||
+ | |colspan="2"| Plays the equipment break sound (unless silent) and spawns break particles for the item in the feet slot | ||
+ | |- | ||
+ | | 54 | ||
+ | |colspan="2"| Spawns honey block fall particles at the entities feet | ||
+ | |- | ||
+ | | 55 | ||
+ | |colspan="2"| Swaps the hand items of the entity | ||
+ | |- | ||
+ | | 60 | ||
+ | |colspan="2"| Spawns death smoke particles | ||
|} | |} | ||
− | === [[ | + | === [[Entity metadata#Player|Player]] === |
− | Extends [[#Living|Living]]. | + | Extends [[#Living Entity|Living Entity]]. |
{| class="wikitable" | {| class="wikitable" | ||
Line 115: | Line 347: | ||
| 9 | | 9 | ||
|colspan="2"| Marks item use as finished (finished eating, finished drinking, etc) | |colspan="2"| 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 | + | This status is not required if you want more control on the server side, this basically 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. | But you can trigger these changes manually through other packets or prevent those changes on the client. | ||
Line 121: | Line 353: | ||
Examples: | Examples: | ||
− | *Create | + | *Create an 'Infinity Bow' without the first arrow in your inventory constantly changing in quantity. |
− | *Create a custom | + | *Create a custom food that is infinite, and prevent the stack quantity from decreasing. |
*... | *... | ||
Line 130: | Line 362: | ||
|- | |- | ||
| 22 | | 22 | ||
− | |colspan="2"| Enables reduced {{Minecraft Wiki|Debug | + | |colspan="2"| Enables reduced {{Minecraft Wiki|Debug screen|debug screen}} information |
|- | |- | ||
| 23 | | 23 | ||
− | |colspan="2"| Disables reduced {{Minecraft Wiki|Debug | + | |colspan="2"| Disables reduced {{Minecraft Wiki|Debug screen|debug screen}} information |
|- | |- | ||
| 24 | | 24 | ||
Line 149: | Line 381: | ||
| 28 | | 28 | ||
|colspan="2"| Set {{Minecraft Wiki|Server.properties#op-permission-level|op permission level}} to 4 | |colspan="2"| Set {{Minecraft Wiki|Server.properties#op-permission-level|op permission level}} to 4 | ||
+ | |- | ||
+ | | 43 | ||
+ | |colspan="2"| 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. | ||
|} | |} | ||
− | === [[ | + | === [[Entity metadata#Armor Stand|Armor Stand]] === |
− | Extends [[#Living|Living]]. | + | Extends [[#Living Entity|Living Entity]]. |
{| class="wikitable" | {| class="wikitable" | ||
Line 163: | Line 398: | ||
|} | |} | ||
− | === [[ | + | === [[Entity metadata#Mob|Mob]] === |
− | Extends [[#Living|Living]]. | + | Extends [[#Living Entity|Living Entity]]. |
{| class="wikitable" | {| class="wikitable" | ||
Line 178: | Line 413: | ||
|} | |} | ||
− | === [[Entity metadata# | + | === [[Entity metadata#Water Animal|Water Animal]] === |
− | Extends [[# | + | Extends [[#Mob|Mob]]. |
No additional statuses. | No additional statuses. | ||
− | === [[ | + | === [[Entity metadata#Squid|Squid]] === |
− | Extends [[# | + | Extends [[#Water Animal|Water Animal]] |
{| class="wikitable" | {| class="wikitable" | ||
Line 194: | Line 429: | ||
| 19 | | 19 | ||
|colspan="2"| Resets the squid's rotation to 0 radians. Occurs whenever the server calculates that the squid has rotated more than 2 pi radians. | |colspan="2"| Resets the squid's rotation to 0 radians. Occurs whenever the server calculates that the squid has rotated more than 2 pi radians. | ||
+ | |} | ||
+ | |||
+ | === [[Entity metadata#Dolphin|Dolphin]] === | ||
+ | |||
+ | Extends [[#Water Animal|Water Animal]] | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Status | ||
+ | !colspan="2"| Description | ||
+ | |- | ||
+ | | 38 | ||
+ | |colspan="2"| Causes several "happy villager" particles to appear; used when the dolphin has been fed and is locating a structure | ||
|} | |} | ||
=== [[Entity metadata#Creature|Creature]] === | === [[Entity metadata#Creature|Creature]] === | ||
− | Extends [[# | + | Extends [[#Mob|Mob]]. |
No additional statuses. | No additional statuses. | ||
− | === [[ | + | === [[Entity metadata#Ageable|Ageable]] === |
Extends [[#Creature|Creature]]. | Extends [[#Creature|Creature]]. | ||
Line 208: | Line 455: | ||
No additional statuses. | No additional statuses. | ||
− | === [[ | + | === [[Entity metadata#Animal|Animal]] === |
Extends [[#Ageable|Ageable]]. | Extends [[#Ageable|Ageable]]. | ||
Line 220: | Line 467: | ||
|} | |} | ||
− | === [[ | + | === [[Entity metadata#Abstract Horse|Abstract Horse]] === |
Extends [[#Animal|Animal]]. | Extends [[#Animal|Animal]]. | ||
Line 235: | Line 482: | ||
|} | |} | ||
− | === [[ | + | === [[Entity metadata#Ocelot|Ocelot]] === |
+ | |||
+ | {{Warning|This is for {{Minecraft Wiki|Ocelot|Ocelot}} not {{Minecraft Wiki|Cat|Cat}}}} | ||
+ | |||
+ | Extends [[#Animal|Animal]]. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Status | ||
+ | !colspan="2"| Description | ||
+ | |- | ||
+ | | 40 | ||
+ | |colspan="2"| Spawn smoke particles (taming failed) | ||
+ | |- | ||
+ | | 41 | ||
+ | |colspan="2"| Spawn heart particles (taming succeeded) | ||
+ | |} | ||
+ | |||
+ | === [[Entity metadata#Rabbit|Rabbit]] === | ||
Extends [[#Animal|Animal]]. | Extends [[#Animal|Animal]]. | ||
Line 247: | Line 511: | ||
|} | |} | ||
− | === [[ | + | === [[Entity metadata#Sheep|Sheep]] === |
Extends [[#Animal|Animal]]. | Extends [[#Animal|Animal]]. | ||
Line 259: | Line 523: | ||
|} | |} | ||
− | === [[ | + | === [[Entity metadata#Fox|Fox]] === |
+ | |||
+ | Extends [[#Animal|Animal]]. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Status | ||
+ | !colspan="2"| Description | ||
+ | |- | ||
+ | | 45 | ||
+ | |colspan="2"| Spawns particles based on the item on the fox's mouth (technically its main hand) to indicate them chewing on it | ||
+ | |} | ||
+ | |||
+ | |||
+ | === [[Entity metadata#Goat|Goat]] === | ||
+ | |||
+ | Extends [[#Animal|Animal]]. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Status | ||
+ | !colspan="2"| Description | ||
+ | |- | ||
+ | | 58 | ||
+ | |colspan="2"| Lower head for ramming | ||
+ | |- | ||
+ | | 59 | ||
+ | |colspan="2"| Stop lowering head | ||
+ | |} | ||
+ | |||
+ | === [[Entity metadata#Tameable Animal|Tameable Animal]] === | ||
Extends [[#Animal|Animal]]. | Extends [[#Animal|Animal]]. | ||
Line 274: | Line 566: | ||
|} | |} | ||
− | === [[ | + | === [[Entity metadata#Wolf|Wolf]] === |
− | Extends [[# | + | Extends [[#Tameable Animal|Tameable Animal]]. |
{| class="wikitable" | {| class="wikitable" | ||
Line 284: | Line 576: | ||
| 8 | | 8 | ||
|colspan="2"| Play wolf shaking water animation | |colspan="2"| Play wolf shaking water animation | ||
+ | |- | ||
+ | | 56 | ||
+ | |colspan="2"| Stop wolf shaking water animation | ||
|} | |} | ||
− | === [[ | + | === [[Entity metadata#Villager|Villager]] === |
Extends [[#Ageable|Ageable]]. | Extends [[#Ageable|Ageable]]. | ||
Line 302: | Line 597: | ||
| 14 | | 14 | ||
|colspan="2"| Spawn villager happy particles | |colspan="2"| Spawn villager happy particles | ||
+ | |- | ||
+ | | 42 | ||
+ | |colspan="2"| Spawn "splash" particles. Triggered with 1% chance each tick while a raid is active. | ||
|} | |} | ||
Line 310: | Line 608: | ||
No additional statuses. | No additional statuses. | ||
− | === [[ | + | === [[Entity metadata#Iron Golem|Iron Golem]] === |
Extends [[#Golem|Golem]]. | Extends [[#Golem|Golem]]. | ||
Line 322: | Line 620: | ||
|- | |- | ||
| 11 | | 11 | ||
− | |colspan="2"| Causes golem to hold out a rose poppy for 400 ticks (20 seconds) | + | |colspan="2"| Causes golem to hold out a <s>rose</s> poppy for 400 ticks (20 seconds) |
|- | |- | ||
| 34 | | 34 | ||
Line 328: | Line 626: | ||
|} | |} | ||
− | === [[ | + | === [[Entity metadata#Evoker Fangs|Evoker Fangs]] === |
Extends [[#Entity|Entity]]. | Extends [[#Entity|Entity]]. | ||
Line 345: | Line 643: | ||
No additional statuses. | No additional statuses. | ||
+ | |||
+ | === [[Entity metadata#Witch|Witch]] === | ||
+ | |||
+ | Extends [[#Monster|Monster]]. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Status | ||
+ | !colspan="2"| Description | ||
+ | |- | ||
+ | | 15 | ||
+ | |colspan="2"| Spawns between 10 and 45 <code>witchMagic</code> particles. This status has a .075% chance of happening each tick. | ||
+ | |} | ||
+ | |||
+ | === [[Entity metadata#Ravager|Ravager]] === | ||
+ | |||
+ | Extends [[#Monster|Monster]]. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Status | ||
+ | !colspan="2"| Description | ||
+ | |- | ||
+ | | 4 | ||
+ | | Starts the attack animation. | ||
+ | |- | ||
+ | | 39 | ||
+ | |colspan="2"| Marks the ravager as stunned for the next 40 ticks. | ||
+ | |} | ||
=== [[Entity metadata#Zombie|Zombie]] === | === [[Entity metadata#Zombie|Zombie]] === | ||
Line 350: | Line 675: | ||
Extends [[#Monster|Monster]]. | Extends [[#Monster|Monster]]. | ||
− | === [[ | + | === [[Entity metadata#Zombie_Villager|Zombie Villager]] === |
Extends [[#Zombie|Zombie]]. | Extends [[#Zombie|Zombie]]. | ||
Line 359: | Line 684: | ||
|- | |- | ||
| 16 | | 16 | ||
− | |colspan="2"| Plays the | + | |colspan="2"| Plays the <code>entity.zombie_villager.cure</code> sound effect (unless the entity is silent) |
|} | |} | ||
− | === Minecart === | + | === [[Entity metadata#Guardian|Guardian]] === |
+ | |||
+ | Extends [[#Monster|Monster]]. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Status | ||
+ | !colspan="2"| Description | ||
+ | |- | ||
+ | | 21 | ||
+ | |colspan="2"| Plays the guardian attack sound effect from this entity. | ||
+ | |} | ||
+ | |||
+ | === [[Entity metadata#Minecart|Minecart]] === | ||
Extends [[#Entity|Entity]]. | Extends [[#Entity|Entity]]. | ||
Line 368: | Line 705: | ||
No additional statuses. | No additional statuses. | ||
− | === [[ | + | === [[Entity metadata#Minecart TNT|Minecart TNT]] === |
Extends [[#Minecart|Minecart]]. | Extends [[#Minecart|Minecart]]. | ||
Line 380: | Line 717: | ||
|} | |} | ||
− | === [[ | + | === [[Entity metadata#Minecart Spawner|Minecart Spawner]] === |
Extends [[#Minecart|Minecart]]. | Extends [[#Minecart|Minecart]]. | ||
Line 391: | Line 728: | ||
|colspan="2"| Resets the delay of the spawner to 200 ticks (the default minimum value). | |colspan="2"| Resets the delay of the spawner to 200 ticks (the default minimum value). | ||
|} | |} | ||
+ | |||
+ | === [[Entity metadata#Hoglin|Hoglin]] === | ||
+ | |||
+ | Extends [[#Animal|Animal]]. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Status | ||
+ | !colspan="2"| Description | ||
+ | |- | ||
+ | | 4 | ||
+ | |colspan="2"| Plays the attack animation for 10 ticks and plays the attack sound. | ||
+ | |} | ||
+ | |||
+ | === [[Entity metadata#Zoglin|Zoglin]] === | ||
+ | |||
+ | Extends [[#Monster|Monster]]. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Status | ||
+ | !colspan="2"| Description | ||
+ | |- | ||
+ | | 4 | ||
+ | |colspan="2"| Plays the attack animation for 10 ticks and plays the attack sound. | ||
+ | |} | ||
+ | |||
+ | === [[Entity metadata#Allay|Allay]]=== | ||
+ | |||
+ | Extends [[#Creature|Creature]]. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Status | ||
+ | !colspan="2"| Description | ||
+ | |- | ||
+ | | 18 | ||
+ | |colspan="2"| Spawns heart particles, used upon Allay duplication. | ||
+ | |} | ||
+ | |||
+ | === [[Entity metadata#Warden|Warden]]=== | ||
+ | |||
+ | Extends [[#Monster|Monster]]. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Status | ||
+ | !colspan="2"| Description | ||
+ | |- | ||
+ | | 4 | ||
+ | |colspan="2"| Stops the roar animation and performs the attack animation. | ||
+ | |- | ||
+ | | 61 | ||
+ | |colspan="2"| Performs tendril shaking animation for 10 ticks. | ||
+ | |- | ||
+ | | 62 | ||
+ | |colspan="2"| Performs the sonic boom attack animation (Charge and release). Beam and sound are not included. | ||
+ | |} | ||
+ | |||
+ | === [[Entity metadata#Sniffer|Sniffer]]=== | ||
+ | |||
+ | Extends [[#Animal|Animal]]. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Status | ||
+ | !colspan="2"| Description | ||
+ | |- | ||
+ | | 63 | ||
+ | |colspan="2"| Plays the digging sound. Only works if the Sniffer has a target, and is in a [[Entity_metadata#Sniffer|digging or searching state]]. | ||
+ | |} | ||
+ | |||
+ | [[Category:Protocol Details]] | ||
+ | [[Category:Minecraft Modern]] |
Latest revision as of 21:02, 12 August 2024
This article lists entity status codes, by entity. These are used in the Entity Event packet.
Contents
- 1 Status table
- 2 Entity statuses
- 2.1 Entity
- 2.2 Projectile
- 2.3 Snowball
- 2.4 Egg
- 2.5 Fishing Hook
- 2.6 Abstract Arrow
- 2.7 Arrow
- 2.8 Firework Rocket
- 2.9 Living Entity
- 2.10 Player
- 2.11 Armor Stand
- 2.12 Mob
- 2.13 Water Animal
- 2.14 Squid
- 2.15 Dolphin
- 2.16 Creature
- 2.17 Ageable
- 2.18 Animal
- 2.19 Abstract Horse
- 2.20 Ocelot
- 2.21 Rabbit
- 2.22 Sheep
- 2.23 Fox
- 2.24 Goat
- 2.25 Tameable Animal
- 2.26 Wolf
- 2.27 Villager
- 2.28 Golem
- 2.29 Iron Golem
- 2.30 Evoker Fangs
- 2.31 Monster
- 2.32 Witch
- 2.33 Ravager
- 2.34 Zombie
- 2.35 Zombie Villager
- 2.36 Guardian
- 2.37 Minecart
- 2.38 Minecart TNT
- 2.39 Minecart Spawner
- 2.40 Hoglin
- 2.41 Zoglin
- 2.42 Allay
- 2.43 Warden
- 2.44 Sniffer
Status table
The following table links to the appropriate entity for each status.
Status code | Entity(/ies) |
---|---|
0 | Arrow |
1 | Minecart Spawner, Rabbit |
2 | None |
3 | Egg, Living Entity, Snowball |
4 | Evoker Fangs, Hoglin, Iron Golem, Ravager, Warden, Zoglin |
5 | None |
6 | Abstract Horse, Tameable Animal |
7 | Abstract Horse, Tameable Animal |
8 | Wolf |
9 | Player |
10 | Minecart TNT, Sheep |
11 | Iron Golem |
12 | Villager |
13 | Villager |
14 | Villager |
15 | Witch |
16 | Zombie Villager |
17 | Firework Rocket |
18 | Allay, 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 | None |
34 | Iron Golem |
35 | Living Entity |
36 | None |
37 | None |
38 | Dolphin |
39 | Ravager |
40 | Ocelot |
41 | Ocelot |
42 | Villager |
43 | Player |
44 | None |
45 | Fox |
46 | Living Entity |
47 | Living Entity |
48 | Living Entity |
49 | Living Entity |
50 | Living Entity |
51 | Living Entity |
52 | Living Entity |
53 | Entity |
54 | Living Entity |
55 | Living Entity |
56 | Wolf |
57 | None |
58 | Goat |
59 | Goat |
60 | Living Entity |
61 | Warden |
62 | Warden |
63 | Sniffer |
Entity statuses
Entity
Status | Description | |
---|---|---|
53 | Spawns honey block slide particles at the entities feet |
Projectile
Extends Entity.
No additional statuses.
Snowball
Extends Projectile.
Status | Description | |
---|---|---|
3 | Displays 8 snowballpoof particles at the snowball's location
|
Egg
Extends Projectile.
Status | Description | |
---|---|---|
3 | Displays 8 iconcrack particles with the egg as a parameter at the egg's location
|
Fishing Hook
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. |
Abstract Arrow
Extends Entity.
Abstract base class for Arrow (which is used for regular arrows as well as tipped ones) and Spectral Arrow.
Arrow
Extends Arrow.
Status | Description | |
---|---|---|
0 | Spawns tipped arrow particle effects, if the color is not -1. |
Firework Rocket
Extends Entity.
Status | Description | |
---|---|---|
17 | Triggers the firework explosion effect (based on the firework info metadata) |
Living Entity
Extends Entity.
Status | Description | |
---|---|---|
3 | Plays the death sound and death animation | |
29 | Plays the shield block sound | |
30 | Plays the shield break sound | |
35 | Plays totem of undying animation and 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 | |
54 | Spawns honey block fall particles at the entities feet | |
55 | Swaps the hand items of the entity | |
60 | Spawns death smoke particles |
Player
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 basically 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. |
Armor Stand
Extends Living Entity.
Status | Description | |
---|---|---|
32 | Plays the hit sound, and resets a hit cooldown. |
Mob
Extends Living Entity.
Status | Description | |
---|---|---|
20 | Spawn explosion particle. Used when:
|
Water Animal
Extends Mob.
No additional statuses.
Squid
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. |
Dolphin
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 |
Creature
Extends Mob.
No additional statuses.
Ageable
Extends Creature.
No additional statuses.
Animal
Extends Ageable.
Status | Description | |
---|---|---|
18 | Spawn "love mode" heart particles |
Abstract Horse
Extends Animal.
Status | Description | |
---|---|---|
6 | Spawn smoke particles (taming failed) | |
7 | Spawn heart particles (taming succeeded) |
Ocelot
Extends Animal.
Status | Description | |
---|---|---|
40 | Spawn smoke particles (taming failed) | |
41 | Spawn heart particles (taming succeeded) |
Rabbit
Extends Animal.
Status | Description | |
---|---|---|
1 | Causes the rabbit to use its rotated jumping animation, and displays jumping particles. |
Sheep
Extends Animal.
Status | Description | |
---|---|---|
10 | Causes the sheep to play the eating grass animation for the next 40 ticks |
Fox
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 |
Goat
Extends Animal.
Status | Description | |
---|---|---|
58 | Lower head for ramming | |
59 | Stop lowering head |
Tameable Animal
Extends Animal.
Status | Description | |
---|---|---|
6 | Spawn smoke particles (taming failed) | |
7 | Spawn heart particles (taming succeeded) |
Wolf
Extends Tameable Animal.
Status | Description | |
---|---|---|
8 | Play wolf shaking water animation | |
56 | Stop wolf shaking water animation |
Villager
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. |
Golem
Extends Creature.
No additional statuses.
Iron Golem
Extends Golem.
Status | Description | |
---|---|---|
4 | Plays attack animation and attack sound | |
11 | Causes golem to hold out a | |
34 | Puts away golem's poppy |
Evoker Fangs
Extends Entity.
Status | Description | |
---|---|---|
4 | Starts the attack animation, and plays the entity.evocation_fangs.attack sound.
|
Monster
Extends Creature.
No additional statuses.
Witch
Extends Monster.
Status | Description | |
---|---|---|
15 | Spawns between 10 and 45 witchMagic particles. This status has a .075% chance of happening each tick.
|
Ravager
Extends Monster.
Status | Description | |
---|---|---|
4 | Starts the attack animation. | |
39 | Marks the ravager as stunned for the next 40 ticks. |
Zombie
Extends Monster.
Zombie Villager
Extends Zombie.
Status | Description | |
---|---|---|
16 | Plays the entity.zombie_villager.cure sound effect (unless the entity is silent)
|
Guardian
Extends Monster.
Status | Description | |
---|---|---|
21 | Plays the guardian attack sound effect from this entity. |
Minecart
Extends Entity.
No additional statuses.
Minecart TNT
Extends Minecart.
Status | Description | |
---|---|---|
10 | Causes the TNT to ignite. Does not play a sound; the sound must be played separately. |
Minecart Spawner
Extends Minecart.
Status | Description | |
---|---|---|
1 | Resets the delay of the spawner to 200 ticks (the default minimum value). |
Hoglin
Extends Animal.
Status | Description | |
---|---|---|
4 | Plays the attack animation for 10 ticks and plays the attack sound. |
Zoglin
Extends Monster.
Status | Description | |
---|---|---|
4 | Plays the attack animation for 10 ticks and plays the attack sound. |
Allay
Extends Creature.
Status | Description | |
---|---|---|
18 | Spawns heart particles, used upon Allay duplication. |
Warden
Extends Monster.
Status | Description | |
---|---|---|
4 | Stops the roar animation and performs the attack animation. | |
61 | Performs tendril shaking animation for 10 ticks. | |
62 | Performs the sonic boom attack animation (Charge and release). Beam and sound are not included. |
Sniffer
Extends Animal.
Status | Description | |
---|---|---|
63 | Plays the digging sound. Only works if the Sniffer has a target, and is in a digging or searching state. |