On this page 6 sections
At a glance
Chat examples — below
-
Hard difficulty
/difficulty hard
Sets the difficulty level. Requires enabled cheats. In Java, the equivalent command is — /difficulty, but is stored differently.
/difficulty <difficulty>
In angular brackets — what must be written; in square brackets — optional. Words without brackets are written as-is.
| Parameter | What to write |
|---|---|
difficulty | one of: normal, peaceful, easy, hard, p, e, n, h |
difficulty | integer |
| What | Value |
|---|---|
| The command | /difficulty |
| Who can | operator and command block |
| Cheats are required | yes |
| Variants of recording | 2 |
| In Java | /difficulty |
What does /difficulty do in Bedrock?
Sets the difficulty level.
Why doesn't /difficulty work?
Commands require cheats: they are enabled in the world settings — after which achievements in this world are no longer awarded. This command can be executed by the world host or a command block.
How does /difficulty in Bedrock differ from Java?
In Java, there is a command /difficulty, but it is written differently: parameters, names, and order vary by edition. A Java command will not work as-is in Bedrock.
- /changesetting
- /daylock
- /fog
- /gamerule
- /locate
- /mobevent
- /music
- /playsound
- /setworldspawn
- /stopsound
- /tickingarea
- /time
- /toggledownfall
- /weather
All Bedrock commands /difficulty in JavaBedrock serversHow to enable cheats
Minecraft Bedrock 1.26.50.4 data: commands, parameters, and descriptions — from Mojang's official bedrock-samples repository.