⛏️ Minecraft Cheat Codes

11 entries — copy-paste ready. Updated for latest version.

/gamemode creative

Switch to Creative mode — infinite blocks, flight, invincibility.

/gamemode creative

/gamemode survival

Switch to Survival mode — standard gameplay with health, hunger, resources.

/gamemode survival

/difficulty — Change Difficulty

Set game difficulty without opening menu.

/difficulty <peaceful|easy|normal|hard>

/gamerule — Game Rules

Change world rules like fire spread, mob griefing, and day/night cycle.

/gamerule <rule> <true|false>

/gamerule keepInventory true

Keep all items and XP when you die.

/gamerule keepInventory true

/weather — Control Weather

Set weather to clear, rain, or thunder.

/weather <clear|rain|thunder>

/time set — Set Time

Set the in-game time. 0 = dawn, 6000 = noon, 12000 = dusk, 18000 = midnight.

/time set <0-24000>

/gamerule doDaylightCycle false

Pause the day/night cycle. Sun stays at current position.

/gamerule doDaylightCycle false

Disable Fire Damage

Fire does not spread or destroy blocks.

/gamerule doFireTick false

Disable PvP

Players cannot damage each other.

/gamerule pvp false

Disable Fall Damage

No one takes damage from falling.

/gamerule fallDamage false

How to Use Minecraft Cheat Codes

Select any entry above to see full syntax, examples, pros/cons, and related mods that enhance this feature.

🔍 Search Wiki
Type a command, item, or cheat to search across 60+ games.