Difference between revisions of "Entity statuses"

From wiki.vg
Jump to navigation Jump to search
m (Links)
m (Markup niceness)
Line 1: Line 1:
=== [[Entity_metadata#Entity|Entity]] ===
+
=== [[Entity metadata#Entity|Entity]] ===
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 15: Line 15:
 
No additional statuses.
 
No additional statuses.
  
=== [[Entity_metadata#Snowball|Snowball]] ===
+
=== [[Entity metadata#Snowball|Snowball]] ===
  
 
Extends [[#Projectile|Projectile]].
 
Extends [[#Projectile|Projectile]].
Line 27: Line 27:
 
  |}
 
  |}
  
=== [[Entity_metadata#Egg|Egg]] ===
+
=== [[Entity metadata#Egg|Egg]] ===
  
 
Extends [[#Projectile|Projectile]].
 
Extends [[#Projectile|Projectile]].
Line 39: Line 39:
 
  |}
 
  |}
  
=== [[Entity_metadata#FishingHook|FishingHook]] ===
+
=== [[Entity metadata#FishingHook|FishingHook]] ===
  
 
Extends [[#Entity|Entity]].
 
Extends [[#Entity|Entity]].
Line 57: Line 57:
 
Abstract base class for [[#TippedArrow|TippedArrow]] (which is used for regular arrows as well as tipped ones) and Spectral Arrow.
 
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]].
 
Extends [[#Arrow|Arrow]].
Line 69: Line 69:
 
  |}
 
  |}
  
=== [[Entity_metadata#Fireworks|Fireworks]] ===
+
=== [[Entity metadata#Fireworks|Fireworks]] ===
  
 
Extends [[#Entity|Entity]].
 
Extends [[#Entity|Entity]].
Line 81: Line 81:
 
  |}
 
  |}
  
=== [[Entity_metadata#Living|Living]] ===
+
=== [[Entity metadata#Living|Living]] ===
  
 
Extends [[#Entity|Entity]].
 
Extends [[#Entity|Entity]].
Line 105: Line 105:
 
  |}
 
  |}
  
=== [[Entity_metadata#Player|Player]] ===
+
=== [[Entity metadata#Player|Player]] ===
  
 
Extends [[#Living|Living]].
 
Extends [[#Living|Living]].
Line 151: Line 151:
 
  |}
 
  |}
  
=== [[Entity_metadata#ArmorStand|ArmorStand]] ===
+
=== [[Entity metadata#ArmorStand|ArmorStand]] ===
  
 
Extends [[#Living|Living]].
 
Extends [[#Living|Living]].
Line 163: Line 163:
 
  |}
 
  |}
  
=== [[Entity_metadata#Insentient|Insentient]] ===
+
=== [[Entity metadata#Insentient|Insentient]] ===
  
 
Extends [[#Living|Living]].
 
Extends [[#Living|Living]].
Line 184: Line 184:
 
No additional statuses.
 
No additional statuses.
  
=== [[Entity_metadata#Squid|Squid]] ===
+
=== [[Entity metadata#Squid|Squid]] ===
  
 
Extends [[#WaterMob|WaterMob]]
 
Extends [[#WaterMob|WaterMob]]
Line 208: Line 208:
 
No additional statuses.
 
No additional statuses.
  
=== [[Entity_metadata#Animal|Animal]] ===
+
=== [[Entity metadata#Animal|Animal]] ===
  
 
Extends [[#Ageable|Ageable]].
 
Extends [[#Ageable|Ageable]].
Line 220: Line 220:
 
  |}
 
  |}
  
=== [[Entity_metadata#AbstractHorse|AbstractHorse]] ===
+
=== [[Entity metadata#AbstractHorse|AbstractHorse]] ===
  
 
Extends [[#Animal|Animal]].
 
Extends [[#Animal|Animal]].
Line 235: Line 235:
 
  |}
 
  |}
  
=== [[Entity_metadata#Rabbit|Rabbit]] ===
+
=== [[Entity metadata#Rabbit|Rabbit]] ===
  
 
Extends [[#Animal|Animal]].
 
Extends [[#Animal|Animal]].
Line 247: Line 247:
 
  |}
 
  |}
  
=== [[Entity_metadata#Sheep|Sheep]] ===
+
=== [[Entity metadata#Sheep|Sheep]] ===
  
 
Extends [[#Animal|Animal]].
 
Extends [[#Animal|Animal]].
Line 259: Line 259:
 
  |}
 
  |}
  
=== [[Entity_metadata#TameableAnimal|TameableAnimal]] ===
+
=== [[Entity metadata#TameableAnimal|TameableAnimal]] ===
  
 
Extends [[#Animal|Animal]].
 
Extends [[#Animal|Animal]].
Line 274: Line 274:
 
  |}
 
  |}
  
=== [[Entity_metadata#Wolf|Wolf]] ===
+
=== [[Entity metadata#Wolf|Wolf]] ===
  
 
Extends [[#TameableAnimal|TameableAnimal]].
 
Extends [[#TameableAnimal|TameableAnimal]].
Line 286: Line 286:
 
  |}
 
  |}
  
=== [[Entity_metadata#Villager|Villager]] ===
+
=== [[Entity metadata#Villager|Villager]] ===
  
 
Extends [[#Ageable|Ageable]].
 
Extends [[#Ageable|Ageable]].
Line 310: Line 310:
 
No additional statuses.
 
No additional statuses.
  
=== [[Entity_metadata#IronGolem|IronGolem]] ===
+
=== [[Entity metadata#IronGolem|IronGolem]] ===
  
 
Extends [[#Golem|Golem]].
 
Extends [[#Golem|Golem]].
Line 328: Line 328:
 
  |}
 
  |}
  
=== [[Entity_metadata#EvocationFangs|EvocationFangs]] ===
+
=== [[Entity metadata#EvocationFangs|EvocationFangs]] ===
  
 
Extends [[#Entity|Entity]].
 
Extends [[#Entity|Entity]].
Line 350: Line 350:
 
Extends [[#Monster|Monster]].
 
Extends [[#Monster|Monster]].
  
=== [[Entity_metadata#Zombie_Villager|Zombie Villager]] ===
+
=== [[Entity metadata#Zombie_Villager|Zombie Villager]] ===
  
 
Extends [[#Zombie|Zombie]].
 
Extends [[#Zombie|Zombie]].
Line 368: Line 368:
 
No additional statuses.
 
No additional statuses.
  
=== [[Entity_metadata#MinecartTNT|MinecartTNT]] ===
+
=== [[Entity metadata#MinecartTNT|MinecartTNT]] ===
  
 
Extends [[#Minecart|Minecart]].
 
Extends [[#Minecart|Minecart]].
Line 380: Line 380:
 
  |}
 
  |}
  
=== [[Entity_metadata#MinecartSpawner|MinecartSpawner]] ===
+
=== [[Entity metadata#MinecartSpawner|MinecartSpawner]] ===
  
 
Extends [[#Minecart|Minecart]].
 
Extends [[#Minecart|Minecart]].

Revision as of 03:25, 14 November 2017

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:

  • Create a 'Infinity Bow' without the first arrow in your inventory constantly changing in quantity.
  • Create a custom found that is infinite, and prevent the stack quantity from descreasing.
  • ...

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:
  • A silverfish enters a block
  • A silverfish exits a block
  • A mob spawner (or minecart mob spawner) spawns an entity (only with entities that support this status)

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).