Packet 60
SetDifficultyPacket
Used for when a client changes difficulty through the menu or when the server changes the difficulty.
HeaderID 60varuint
0Difficultyvaruint32 · variable (up to 5 bytes)
Serialized fields
1 top-level fields- 0DifficultyCompression
varuint32
Changelog
Stable releases
Changes between stable protocol releases.
No stable release changes are recorded for this packet.
Preview builds
Changes between Minecraft Preview protocol builds.
No preview build changes are recorded for this packet.