OverviewPacketsActorEvent
ID 0x1B · 27BothEntities
ActorEvent
Triggers an entity animation or state event such as hurt, death, eating or taming.
actor-event.bin
struct ActorEvent {
ActorRuntimeID RuntimeId;
ActorEvent EventId;
varint32 Data;
optional byte + Vec3 FireAtPosition;
}Structure
| Field | Type | Description |
|---|---|---|
| Runtime Id | ActorRuntimeID | |
| Event Id | ActorEvent | |
| Data | varint32 | |
| Fire At Position | optional byte + Vec3 | Presence flag on the wire; value omitted when absent. |
Structure of Vec3
| Field | Type | Description |
|---|---|---|
| X | float32 (LE) | |
| Y | float32 (LE) | |
| Z | float32 (LE) |
Event (selected) values
2 Hurt
3 Death
4 StartAttacking
7 TameFail
9 UseItem
18 Love
31 FishHook
57 Eat
Notes
- Data's meaning depends on the event (damage amount, food ticks, ...).
