Difficulty
Wire format
1 formatValues are serialized as varint32.
ZigZag-encoded, then written as base-128 groups with the high bit indicating continuation. 1-5 bytes
Enum values
6 values- 0
Peaceful - 1
Easy - 2
Normal - 3
Hard - 4
Count - 5
Unknown
Packet references
1 reference- StartGamePacketSettings › LevelSettings › Game Difficulty › Difficulty
Changelog
Stable releases
Changes between stable protocol releases.
No stable release changes are recorded for this type.
Preview builds
Changes between Minecraft Preview protocol builds.
No preview build changes are recorded for this type.