View on GitHub

Soupply

Automatically generated libraries for encoding and decoding Minecraft protocols

home / bedrock137 / play / set-difficulty

Set difficulty

Encode/decode this packet in Sandbox

Id: 60

Id (hex): 3C

Id (bin): 00111100

Clientbound: ✔️

Serverbound: ✖️

Sets the world’s difficulty.

Fields

Name Type
difficulty varuint

difficulty

Constants:

Name Value
peaceful 0
easy 1
normal 2
hard 3