← Type index

Difficulty

Wire format

1 format

Values are serialized as varint32.

ZigZag-encoded, then written as base-128 groups with the high bit indicating continuation. 1-5 bytes

CompressionEnum-as-ValueAllow unknown enum values

Enum values

6 values
  1. 0Peaceful
  2. 1Easy
  3. 2Normal
  4. 3Hard
  5. 4Count
  6. 5Unknown

Packet references

1 reference
  1. StartGamePacketSettings › LevelSettings › Game Difficulty › Difficulty

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this type.