S19PacketEntityStatus
Last updated
Last updated
getEntity():
Returns an Entity
object representing the entity associated with this status update packet. This method provides access to the entity whose status is being updated.
getOpCode(): int
Retrieves the operation code (opcode) of the status update. The opcode is a int value that represents a specific status effect or action related to the entity.
The following table lists the opcodes and their descriptions:
1
Reset mob spawn minecart's timer/Rabbit jump
2
Living Entity hurt
3
Living Entity dead
4
Iron Golem throwing up arms
6
Wolf/Ocelot/Horse taming - Heart particles
7
Wolf/Ocelot/Horse tamed - Smoke particles
8
Wolf shaking water - Trigger shaking animation
9
Eating accepted by server
10
Sheep eating grass/TNT ignite sound
11
Iron Golem handing over a rose
12
Villager mating - Heart particles
13
Villager revenge - Angry particles
14
Villager happy particles
15
Witch animation - Magic particles
16
Zombie converting to villager sound
17
Firework exploding
18
Animal in love - Heart particles
19
Reset squid rotation
20
Spawn explosion particle
21
Play guardian sound (for guardians only)
22
Enable reduced debug for players
23
Disable reduced debug for players