Difference between revisions of "Entity statuses"
m (change to list) |
(Extended classes) |
||
Line 8: | Line 8: | ||
|colspan="2"| Plays the Totem of Undying animation | |colspan="2"| Plays the Totem of Undying animation | ||
|} | |} | ||
+ | |||
+ | === [[Entity metadata#Projectile|Projectile]] === | ||
+ | |||
+ | Extends [[#Entity|Entity]]. | ||
+ | |||
+ | No additional statuses. | ||
=== [[Entity_metadata#Snowball|Snowball]] === | === [[Entity_metadata#Snowball|Snowball]] === | ||
+ | |||
+ | Extends [[#Projectile|Projectile]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 20: | Line 28: | ||
=== [[Entity_metadata#Egg|Egg]] === | === [[Entity_metadata#Egg|Egg]] === | ||
+ | |||
+ | Extends [[#Projectile|Projectile]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 30: | Line 40: | ||
=== [[Entity_metadata#FishingHook|FishingHook]] === | === [[Entity_metadata#FishingHook|FishingHook]] === | ||
+ | |||
+ | Extends [[#Entity|Entity]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 39: | Line 51: | ||
|} | |} | ||
+ | === [[Entity metadata#Arrow|Arrow]] === | ||
+ | |||
+ | Extends [[#Entity|Entity]]. | ||
+ | |||
+ | Abstract base class for [[#TippedArrow|TippedArrow]] (which is used for regular arrows as well as tipped ones) and Spectral Arrow. | ||
=== [[Entity_metadata#TippedArrow|TippedArrow]] === | === [[Entity_metadata#TippedArrow|TippedArrow]] === | ||
+ | |||
+ | Extends [[#Arrow|Arrow]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 51: | Line 70: | ||
=== [[Entity_metadata#Fireworks|Fireworks]] === | === [[Entity_metadata#Fireworks|Fireworks]] === | ||
+ | |||
+ | Extends [[#Entity|Entity]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 61: | Line 82: | ||
=== [[Entity_metadata#Living|Living]] === | === [[Entity_metadata#Living|Living]] === | ||
+ | |||
+ | Extends [[#Entity|Entity]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 83: | Line 106: | ||
=== [[Entity_metadata#Player|Player]] === | === [[Entity_metadata#Player|Player]] === | ||
+ | |||
+ | Extends [[#Living|Living]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 127: | Line 152: | ||
=== [[Entity_metadata#ArmorStand|ArmorStand]] === | === [[Entity_metadata#ArmorStand|ArmorStand]] === | ||
+ | |||
+ | Extends [[#Living|Living]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 137: | Line 164: | ||
=== [[Entity_metadata#Insentient|Insentient]] === | === [[Entity_metadata#Insentient|Insentient]] === | ||
+ | |||
+ | Extends [[#Living|Living]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 148: | Line 177: | ||
*A mob spawner (or minecart mob spawner) spawns an entity (only with entities that support this status) | *A mob spawner (or minecart mob spawner) spawns an entity (only with entities that support this status) | ||
|} | |} | ||
+ | |||
+ | === [[Entity metadata#WaterMob|WaterMob]] === | ||
+ | |||
+ | Extends [[#Insentient|Insentient]]. | ||
+ | |||
+ | No additional statuses. | ||
=== [[Entity_metadata#Squid|Squid]] === | === [[Entity_metadata#Squid|Squid]] === | ||
+ | |||
+ | Extends [[#WaterMob|WaterMob]] | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 158: | Line 195: | ||
|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#Creature|Creature]] === | ||
+ | |||
+ | Extends [[#Insentient|Insentient]]. | ||
+ | |||
+ | No additional statuses. | ||
+ | |||
+ | === [[Entitiy metadata#Ageable|Ageable]] === | ||
+ | |||
+ | Extends [[#Creature|Creature]]. | ||
+ | |||
+ | No additional statuses. | ||
=== [[Entity_metadata#Animal|Animal]] === | === [[Entity_metadata#Animal|Animal]] === | ||
+ | |||
+ | Extends [[#Ageable|Ageable]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 170: | Line 221: | ||
=== [[Entity_metadata#AbstractHorse|AbstractHorse]] === | === [[Entity_metadata#AbstractHorse|AbstractHorse]] === | ||
+ | |||
+ | Extends [[#Animal|Animal]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 183: | Line 236: | ||
=== [[Entity_metadata#Rabbit|Rabbit]] === | === [[Entity_metadata#Rabbit|Rabbit]] === | ||
+ | |||
+ | Extends [[#Animal|Animal]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 193: | Line 248: | ||
=== [[Entity_metadata#Sheep|Sheep]] === | === [[Entity_metadata#Sheep|Sheep]] === | ||
+ | |||
+ | Extends [[#Animal|Animal]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 203: | Line 260: | ||
=== [[Entity_metadata#TameableAnimal|TameableAnimal]] === | === [[Entity_metadata#TameableAnimal|TameableAnimal]] === | ||
+ | |||
+ | Extends [[#Animal|Animal]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 216: | Line 275: | ||
=== [[Entity_metadata#Wolf|Wolf]] === | === [[Entity_metadata#Wolf|Wolf]] === | ||
+ | |||
+ | Extends [[#TameableAnimal|TameableAnimal]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 226: | Line 287: | ||
=== [[Entity_metadata#Villager|Villager]] === | === [[Entity_metadata#Villager|Villager]] === | ||
+ | |||
+ | Extends [[#Ageable|Ageable]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 240: | Line 303: | ||
|colspan="2"| Spawn villager happy particles | |colspan="2"| Spawn villager happy particles | ||
|} | |} | ||
+ | |||
+ | === [[Entity metadata#Golem|Golem]] === | ||
+ | |||
+ | Extends [[#Creature|Creature]]. | ||
+ | |||
+ | No additional statuses. | ||
=== [[Entity_metadata#IronGolem|IronGolem]] === | === [[Entity_metadata#IronGolem|IronGolem]] === | ||
+ | |||
+ | Extends [[#Golem|Golem]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 258: | Line 329: | ||
=== [[Entity_metadata#EvocationFangs|EvocationFangs]] === | === [[Entity_metadata#EvocationFangs|EvocationFangs]] === | ||
+ | |||
+ | Extends [[#Entity|Entity]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 266: | Line 339: | ||
|colspan="2"| Starts the attack animation, and plays the <code>entity.evocation_fangs.attack</code> sound. | |colspan="2"| Starts the attack animation, and plays the <code>entity.evocation_fangs.attack</code> sound. | ||
|} | |} | ||
+ | |||
+ | === [[Entity metadata#Monster|Monster]] === | ||
+ | |||
+ | Extends [[#Creature|Creature]]. | ||
+ | |||
+ | No additional statuses. | ||
+ | |||
+ | === [[Entity metadata#Zombie|Zombie]] === | ||
+ | |||
+ | Extends [[#Monster|Monster]]. | ||
=== [[Entity_metadata#Zombie_Villager|Zombie Villager]] === | === [[Entity_metadata#Zombie_Villager|Zombie Villager]] === | ||
+ | |||
+ | Extends [[#Zombie|Zombie]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 276: | Line 361: | ||
|colspan="2"| Plays the zombie cure finished sound effect (unless the entity is silent) | |colspan="2"| Plays the zombie cure finished sound effect (unless the entity is silent) | ||
|} | |} | ||
+ | |||
+ | === Minecart === | ||
+ | |||
+ | Extends [[#Entity|Entity]]. | ||
+ | |||
+ | No additional statuses. | ||
=== [[Entity_metadata#MinecartTNT|MinecartTNT]] === | === [[Entity_metadata#MinecartTNT|MinecartTNT]] === | ||
+ | |||
+ | Extends [[#Minecart|Minecart]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 288: | Line 381: | ||
=== [[Entity_metadata#MinecartSpawner|MinecartSpawner]] === | === [[Entity_metadata#MinecartSpawner|MinecartSpawner]] === | ||
+ | |||
+ | Extends [[#Minecart|Minecart]]. | ||
{| class="wikitable" | {| class="wikitable" |
Revision as of 03:23, 14 November 2017
Contents
- 1 Entity
- 2 Projectile
- 3 Snowball
- 4 Egg
- 5 FishingHook
- 6 Arrow
- 7 TippedArrow
- 8 Fireworks
- 9 Living
- 10 Player
- 11 ArmorStand
- 12 Insentient
- 13 WaterMob
- 14 Squid
- 15 Creature
- 16 Ageable
- 17 Animal
- 18 AbstractHorse
- 19 Rabbit
- 20 Sheep
- 21 TameableAnimal
- 22 Wolf
- 23 Villager
- 24 Golem
- 25 IronGolem
- 26 EvocationFangs
- 27 Monster
- 28 Zombie
- 29 Zombie Villager
- 30 Minecart
- 31 MinecartTNT
- 32 MinecartSpawner
Entity
Status | Description | |
---|---|---|
35 | Plays the Totem of Undying animation |
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
|
FishingHook
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. |
Arrow
Extends Entity.
Abstract base class for TippedArrow (which is used for regular arrows as well as tipped ones) and Spectral Arrow.
TippedArrow
Extends Arrow.
Status | Description | |
---|---|---|
0 | Spawns tipped arrow particle effects, if the color is not -1. |
Fireworks
Extends Entity.
Status | Description | |
---|---|---|
17 | Triggers the firework explosion effect (based off of the firework info metadata) |
Living
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 |
Player
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 |
ArmorStand
Extends Living.
Status | Description | |
---|---|---|
32 | Plays the hit sound, and resets a hit cooldown. |
Insentient
Extends Living.
Status | Description | |
---|---|---|
20 | Spawn explosion particle. Used when:
|
WaterMob
Extends Insentient.
No additional statuses.
Squid
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. |
Creature
Extends Insentient.
No additional statuses.
Ageable
Extends Creature.
No additional statuses.
Animal
Extends Ageable.
Status | Description | |
---|---|---|
18 | Spawn "love mode" heart particles |
AbstractHorse
Extends Animal.
Status | Description | |
---|---|---|
6 | Spawn smoke particles (taming failed) | |
7 | 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 |
TameableAnimal
Extends Animal.
Status | Description | |
---|---|---|
6 | Spawn smoke particles (taming failed) | |
7 | Spawn heart particles (taming succeeded) |
Wolf
Extends TameableAnimal.
Status | Description | |
---|---|---|
8 | Play 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 |
Golem
Extends Creature.
No additional statuses.
IronGolem
Extends Golem.
Status | Description | |
---|---|---|
4 | Plays attack animation and attack sound | |
11 | Causes golem to hold out a rose poppy for 400 ticks (20 seconds) | |
34 | Puts away golem's poppy |
EvocationFangs
Extends Entity.
Status | Description | |
---|---|---|
4 | Starts the attack animation, and plays the entity.evocation_fangs.attack sound.
|
Monster
Extends Creature.
No additional statuses.
Zombie
Extends Monster.
Zombie Villager
Extends Zombie.
Status | Description | |
---|---|---|
16 | Plays the zombie cure finished sound effect (unless the entity is silent) |
Minecart
Extends Entity.
No additional statuses.
MinecartTNT
Extends Minecart.
Status | Description | |
---|---|---|
10 | Causes the TNT to ignite. Does not play a sound; the sound must be played separately. |
MinecartSpawner
Extends Minecart.
Status | Description | |
---|---|---|
1 | Resets the delay of the spawner to 200 ticks (the default minimum value). |