Entity statuses: Difference between revisions
imported>Pokechu22 Link back to the packet |
imported>Pokechu22 Dolphin status |
||
| Line 119: | Line 119: | ||
| 37 | | 37 | ||
| [[#Living|Living]] | | [[#Living|Living]] | ||
|- | |||
| 38 | |||
| [[#Dolphin|Dolphin]] | |||
|} | |} | ||
| Line 324: | Line 327: | ||
| 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 [[#WaterMob|WaterMob]] | |||
{| 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 | |||
|} | |} | ||
Revision as of 19:02, 20 November 2018
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 | TippedArrow |
| 1 | Rabbit, MinecartSpawner |
| 2 | Living |
| 3 | Snowball, Egg, Living |
| 4 | IronGolem, EvocationFangs |
| 5 | None |
| 6 | AbstractHorse, TameableAnimal |
| 7 | AbstractHorse, TameableAnimal |
| 8 | Wolf |
| 9 | Living |
| 10 | Sheep, MinecartTNT |
| 11 | IronGolem |
| 12 | Villager |
| 13 | Villager |
| 14 | Villager |
| 15 | Witch |
| 16 | Zombie Villager |
| 17 | Fireworks |
| 18 | Animal |
| 19 | Squid |
| 20 | Insentient |
| 22 | Player |
| 23 | Player |
| 24 | Player |
| 25 | Player |
| 26 | Player |
| 27 | Player |
| 28 | Player |
| 29 | Living |
| 30 | Living |
| 31 | FishingHook |
| 32 | ArmorStand |
| 33 | Living |
| 34 | IronGolem |
| 35 | Entity |
| 36 | Living |
| 37 | Living |
| 38 | Dolphin |
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 TippedArrow (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 | |
Extends Living.
| 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 | |
Extends Living.
| Status | Description | |
|---|---|---|
| 32 | Plays the hit sound, and resets a hit cooldown. | |
Extends Living.
| Status | Description | |
|---|---|---|
| 20 | Spawn explosion particle. Used when:
| |
Extends Insentient.
No additional statuses.
Extends WaterMob
| 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 WaterMob
| Status | Description | |
|---|---|---|
| 38 | Causes several "happy villager" particles to appear; used when the dolphin has been fed and is locating a structure | |
Extends Insentient.
No additional statuses.
Extends Creature.
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 | |
|---|---|---|
| 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 | |
|---|---|---|
| 6 | Spawn smoke particles (taming failed) | |
| 7 | Spawn heart particles (taming succeeded) | |
Extends TameableAnimal.
| 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 | |
Extends Creature.
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 Creature.
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.
Extends Zombie.
| Status | Description | |
|---|---|---|
| 16 | Plays the zombie cure finished sound effect (unless the entity is silent) | |
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). | |