0x41 S41PacketServerDifficulty
Informs client of the server's difficulty setting.
Fields
| Field | Type | Description |
|---|---|---|
| difficulty | unsigned byte | 0=peaceful, 1=easy, 2=normal, 3=hard |
| difficultyLocked | boolean | Whether difficulty is locked |
Wire Encoding
| Field | Type | Notes |
|---|---|---|
| Difficulty | unsigned byte | 0-3 |
| Locked | bool |
MCP References
MCP
NetHandlerPlayClient.handleServerDifficulty()Handler Interface
HND
INetHandlerPlayClientimplementation Implementation Cases
DifficultyDetector
Detect server difficulty for module configuration.