COMMAND BUILDER
Minecraft /difficulty Generator.
Sets the game difficulty level. Adjust settings below to instantly generate the correct syntax.
LIVE TERMINAL OUTPUT
Generated Minecraft Syntax
Copy and paste this output directly into your Minecraft game console (press T) or command blocks.
/give @s diamond 64
What this command does?
Changes world difficulty to **normal**.
Documentation & Guide
About the /difficulty Generator
The /difficulty generator switches the world difficulty between Peaceful, Easy, Normal, and Hard.
How to Use This Generator
- Select difficulty setting: peaceful, easy, normal, or hard.
- Copy and run in chat with cheats enabled.
Parameters & Options Explained
Difficulty
peaceful (no hostiles, fast health regen), easy, normal, or hard (full damage, starving can kill).
Practical In-Game Example
Tested & Validated/difficulty peacefulInstantly removes all hostile mobs from the world and sets difficulty to Peaceful.
Java vs Bedrock Compatibility
Java Edition:Syntax: /difficulty <peaceful|easy|normal|hard>
Bedrock Edition:Syntax: /difficulty <peaceful|easy|normal|hard>
Important Limitations & Rules
- Difficulty cannot be changed if the world difficulty is permanently locked in world options.