Minecraft Bedrock /difficulty Command

Bedrock commands

Sets the difficulty level.

  • operator and command block
  • cheats are needed
  • Bedrock 1.26.50.4
My Game select version

Save your preferences in this browser and apply them to supported tools. Settings in a shared link take priority. Wiki version labels are not affected.

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.

How to record?

  • /difficulty <difficulty>

In angular brackets — what must be written; in square brackets — optional. Words without brackets are written as-is.

Parameters

ParameterWhat to write
difficultyone of: normal, peaceful, easy, hard, p, e, n, h
difficultyinteger

Who can

WhatValue
The command/difficulty
Who canoperator and command block
Cheats are requiredyes
Variants of recording2
In Java/difficulty

Frequently asked questions

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.

Commands nearby

Minecraft Bedrock 1.26.50.4 data: commands, parameters, and descriptions — from Mojang's official bedrock-samples repository.