OverviewPacketsLevelEvent
ID 0x19 · 25Server → ClientWorld
LevelEvent
Generic world event: particles, sound-less effects, door/chest state changes, block breaking progress and more.
level-event.bin
struct LevelEvent {
varint32 EventId;
Vec3 Pos;
varint32 Data;
}Structure
| Field | Type | Description |
|---|---|---|
| Event Id | varint32 | |
| Pos | Vec3 | |
| Data | varint32 |
Structure of Vec3
| Field | Type | Description |
|---|---|---|
| X | float32 (LE) | |
| Y | float32 (LE) | |
| Z | float32 (LE) |
Notes
- Event ids are a large enum; coordinates are packed into a single int (x 26 bits, z 26 bits, y 12 bits minus 64).
