Skip to content
Minecraft Command List

Minecraft /gamerule Commands — Copy & Paste (2026)

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Toggle the rules that shape your whole world: keep inventory, mob griefing, the day/night cycle, fall damage, and more. Every /gamerule command works identically in Java and Bedrock and is one click to copy.

Keep your items when you die instead of dropping them

/gamerule keepInventory true

Freeze time so it's permanently daytime

/gamerule doDaylightCycle false

Stop rain and keep the weather clear

/gamerule doWeatherCycle false

Stop creepers, endermen, and other mobs from changing blocks

/gamerule mobGriefing false

Turn off fall damage

/gamerule fallDamage false

Stop fire from spreading to nearby blocks

/gamerule doFireTick false

Respawn immediately on death without clicking the button

/gamerule doImmediateRespawn true

Enable the coordinates display on screen

/gamerule showCoordinates true
Speed Up Crop Growth (Random Tick Speed)
Speed Up Crop Growth (Random Tick Speed) Awaiting in-game verification
Both

Make plants grow faster by increasing random tick speed

/gamerule randomTickSpeed 3
Disable Mob Spawning
Disable Mob Spawning Awaiting in-game verification
Both

Stop mobs from spawning naturally in the world

/gamerule doMobSpawning false
Disable Block Drops (No Loot)
Disable Block Drops (No Loot) Awaiting in-game verification
Both

Stop mined blocks from dropping items

/gamerule doTileDrops false
Silence Command Block Output
Silence Command Block Output Awaiting in-game verification
Both

Stop command blocks from printing messages to chat

/gamerule commandBlockOutput false
One-Player Sleep (Skip Night)
One-Player Sleep (Skip Night) Awaiting in-game verification
Both

Let one sleeping player skip the night for the whole world

/gamerule playersSleepingPercentage 1
Disable Phantoms (No Insomnia)
Disable Phantoms (No Insomnia) Awaiting in-game verification
Both

Stop phantoms from spawning when you don't sleep

/gamerule doInsomnia false
Set Spawn Radius (Spawn Protection)
Set Spawn Radius (Spawn Protection) Awaiting in-game verification
Java

Control the size of the spawn protection area

/gamerule spawnRadius 0
Disable Mob Drops (No Loot from Mobs)
Disable Mob Drops (No Loot from Mobs) Awaiting in-game verification
Both

Stop mobs from dropping items when killed

/gamerule doEntityDrops false
Disable Drowning Damage
Disable Drowning Damage Awaiting in-game verification
Both

Stop taking damage when underwater

/gamerule drowningDamage false
Disable Fire Damage
Disable Fire Damage Awaiting in-game verification
Both

Stop taking damage from fire and lava

/gamerule fireDamage false
Reduce Debug Info (F3 Screen)
Reduce Debug Info (F3 Screen) Awaiting in-game verification
Java

Hide most debug info and only show FPS on the F3 screen

/gamerule reducedDebugInfo true