OverviewPacketsGameRulesChanged
ID 0x48 · 72Server → ClientGameplay
GameRulesChanged
Informs client about any changes to the game rules.
game-rules-changed.bin
struct GameRulesChanged {
GameRulesChangedPacketData RuleData;
}Structure
| Field | Type | Description |
|---|---|---|
| Rule Data | GameRulesChangedPacketData |
Structure of GameRulesChangedPacketData
| Field | Type | Description |
|---|---|---|
| Rules | varuint32 count + GameRule[] | Length-prefixed sequence. |
Structure of GameRule
| Field | Type | Description |
|---|---|---|
| Name | string | |
| Can Be Modified By Player | bool | |
| Value | tagged case index (0=None, 1=bool, 2=int32, 3=float32) | Variant: an index selects the payload type — see the tables below. |
Notes
- No special notes.
