/difficulty Command in Minecraft Bedrock Edition

Change World Difficulty in Minecraft Bedrock

Bedrock EditionWorld & BlocksPermission: Game DirectorsCheats: YesJava version →

The /difficulty command changes the challenge level of your Minecraft Bedrock world to Peaceful, Easy, Normal, or Hard. You can enter the difficulty using its full name, a single-letter shortcut, or a number from 0 to 3.

Players and server admins use this command to quickly change the game difficulty without opening the settings menu. You must have cheats enabled and Game Directors permissions to run it.

Syntax (2 forms)

  1. /difficulty <difficulty: Difficulty>

    Difficulty using difficulty enum: p, peaceful, e, easy, n, normal, h, hard

  2. /difficulty <difficulty: int>

    Difficulty using integer: 0 (Peaceful), 1 (Easy), 2 (Normal), 3 (Hard).

Arguments

ArgumentTypeWhat it means
difficultyDifficultySet the difficulty using the Difficult enum: `p` or `peaceful`, `e` or `easy`, `n` or `normal`, `h` or `hard`.
difficultyintSet the difficulty using an integer: 0 (Peaceful), 1 (Easy), 2 (Normal), 3 (Hard).

Examples

Tips

Common mistakes

Bedrock vs Java

In Minecraft Java Edition, the /difficulty command uses the full difficulty names like /difficulty easy, /difficulty normal, or /difficulty hard, and you can also run /difficulty by itself without any arguments.

See /difficulty in Java Edition →

FAQ

What numbers work with the /difficulty command in Bedrock Edition?

You can use the numbers 0 for Peaceful, 1 for Easy, 2 for Normal, and 3 for Hard.

What are the letter shortcuts for /difficulty?

Bedrock Edition lets you use single letters instead of full words: p for Peaceful, e for Easy, n for Normal, and h for Hard.

Why can I not use the /difficulty command in my world?

The /difficulty command requires cheats to be turned on in your world and your player account must have the Game Directors permission level.

Related commands

/clone/daylock/fill/fog/gamerule/locate/mobevent/place/setblock/setworldspawn/structure/tickingarea/time/weather