Minecraft Cheats

Minecraft Cheats: Every Command You Need (Full Guide)

Introduction

Minecraft cheats are commands that let you change the game instantly. You can fly in Creative mode, spawn any item, teleport across the map, skip the night, or keep your inventory after death.

This guide shows you how to enable cheats, how to type commands correctly, and which Minecraft cheats are worth using on Java and Bedrock Edition.

Every command below can be copied and pasted. Where Java and Bedrock differ, both versions are shown.

What Are Minecraft Cheats?

Minecraft Cheats

Minecraft Cheats doesn’t have “cheat codes” like older games. Instead, cheats are commands typed into the chat window that start with a slash (/). To use them, your world must have cheats enabled, or your account must be a server operator.

Players use Minecraft Cheats to:

  • Build faster with /fill and /clone
  • Test redstone and farms in Creative mode
  • Recover items after a bug or accidental death
  • Explore seeds and structures quickly
  • Have fun with mobs, effects, and weather

How to Enable Cheats in Minecraft

Minecraft Cheats

Enable Cheats When Creating a New World

  • Click Create New World.
  • On Java, open the More tab. On Bedrock, scroll to Cheats.
  • Turn on Allow Cheats (Java) or Activate Cheats (Bedrock).
  • Create the world.

Enable Cheats in an Existing World

Java Edition

  • Press Esc and click Open to LAN.
  • Set Allow Cheats: ON.
  • Click Start LAN World.

Bedrock Edition (PC, console, mobile):

  • Open the world’s Settings.
  • Go to Cheats and switch on Activate Cheats.

Enable Cheats on a Server

Ask the owner to make you an operator, or run /op YourName from the server console.

Important: On Bedrock Edition, activating Minecraft Cheats permanently disables achievements for that world. Java Edition has no achievement lock.

How to Type Minecraft Commands

Minecraft Cheats

  • Press T on PC (or tap the chat icon on mobile and console).
  • Type / followed by the command.
  • Press Enter.

Use the Tab key to auto-complete. It fixes most typing errors and shows you valid options for your version.

Understanding Coordinates and Selectors

What Do ~ and ^ Mean?

  • ~ ~ ~ means your current position
  • ~ ~5 ~ means 5 blocks above you
  • ~10 ~ ~ means 10 blocks in the X direction

Target Selectors

SelectorWho It Targets
@sYourself
@pNearest player
@aAll players
@eAll entities
@rRandom player

Example: /give @a bread 10 Gives every player 10 bread.

Game Mode Commands

Minecraft Cheats

CommandWhat It Does
/gamemode creativeUnlimited blocks and flying
/gamemode survivalNormal gameplay
/gamemode adventureLimited block breaking, good for maps
/gamemode spectatorFly through blocks, invisible to mobs
/difficulty peacefulNo hostile mobs
/difficulty hardHardest difficulty

Item Cheats (Give, Clear and Enchant)

CommandWhat It Does
/give @s diamond 64Gives 64 diamonds
/give @s minecraft:golden_apple 16Gives 16 golden apples
/give @s command_blockGives a command block
/give @s elytraGives an elytra
/clear @sEmpties your inventory
/enchant @s sharpness 5Enchants the held item

Item names use lowercase and underscores, for example netherite_ingot.

Teleport and Location Cheats

 

Minecraft Cheats

CommandWhat It Does
/tp @s 100 70 -200Teleports you to coordinates
/tp @s PlayerNameTeleports you to a player
/setworldspawnSets world spawn
/spawnpoint @sSets your personal respawn
/seedShows the world seed

Locate Structures and Biomes

  • Bedrock: /locate structure village
  • Java: /locate structure minecraft:village_plains (press Tab to see all structure names)
  • Biomes: /locate biome cherry_grove (in recent versions)

Time and Weather Commands

Minecraft Cheats

CommandWhat It Does
/time set daySets morning
/time set noonSets midday
/time set nightSets night
/weather clearStops rain
/weather rainStarts rain
/weather thunderStarts a thunderstorm

Effect and Experience Commands

Java Edition

  • /effect give @s minecraft:speed 300 2 (Speed III for 5 minutes)
  • /effect give @s minecraft:night_vision 999999
  • /effect clear @s
  • /xp add @s 30 levels

Bedrock Edition

  • /effect @s speed 300 2
  • /effect @s night_vision 999999
  • /effect @s clear
  • /xp 30L @s

Mob and Entity Commands

Minecraft Cheats

CommandWhat It Does
/summon minecraft:creeper ~ ~ ~Spawns a creeper
/summon minecraft:villager ~ ~ ~Spawns a villager
/kill @e[type=zombie]Kills all zombies
/kill @e[type=item]Removes dropped items

Building Commands

CommandWhat It Does
/setblock ~ ~1 ~ diamond_blockPlaces a single block
/fill ~ ~ ~ ~5 ~5 ~5 stoneFills a 6x6x6 area
/fill ~ ~ ~ ~5 ~5 ~5 airClears an area
/clone x1 y1 z1 x2 y2 z2 x y zCopies a build

Tip: Build tools like /fill and /clone have block limits, so split large areas into smaller sections.

Best Gamerules for Survival Players

Minecraft Cheats

CommandWhat It Does
/gamerule keepInventory trueKeep items after death
/gamerule doDaylightCycle falseFreeze time
/gamerule doMobSpawning falseStop mob spawning
/gamerule mobGriefing falseCreepers won’t break blocks

Some newer Java versions renamed gamerules to snake_case, such as keep_inventory. If a gamerule isn’t recognised, press Tab and copy the name your version shows.

Minecraft Cheats: Java vs Bedrock

FeatureJavaBedrock
Cheats disable achievementsNoYes
Effect command/effect give/effect
XP command/xp add @s 30 levels/xp 30L @s
Locate structureFull structure nameShort names like village
Enable cheatsOpen to LAN / world creationWorld settings toggle

Common Command Errors and Fixes

Minecraft Cheats

  • “Unknown or incomplete command”: Check spelling, or you may be using Java syntax on Bedrock (or the other way around).
  • Command doesn’t run: Cheats aren’t enabled, or you don’t have operator permission.
  • “Incorrect argument”: An item, mob, or block name is wrong. Use Tab to auto-complete.
  • Nothing happens on console: Enable cheats in the world settings first.

Safety Tips Before You Use Cheats

  • Back up your world before large /fill or /kill commands.
  • Test big builds in a separate Creative world.
  • Follow server rules on multiplayer servers.
  • On Bedrock, remember achievements will be disabled.

FAQs

1. How do I turn on cheats in Minecraft?

Enable Allow Cheats when creating your world. For an existing world, use Open to LAN on Java or the Cheats toggle in Bedrock settings.

2. What are the best Minecraft cheat commands?

/gamemode creative, /give, /tp, /time set day and /gamerule keepInventory true are the most popular.

3. Do Minecraft cheats work on PS5, Xbox, Switch, and mobile?

Yes. Bedrock Edition supports commands on all of them once cheats are enabled for the world.

4. Do cheats disable achievements in Minecraft?

On Bedrock Edition, yes. On Java Edition, no.

5. How do I get a command block?

Run /give @s command_block in a world with cheats enabled and operator permissions.

6. Can I use cheats on a Minecraft server?

Only if you are an operator or the server allows the command. Most public servers restrict them.

7. How do I turn cheats off?

On Bedrock, switch off Activate Cheats in world settings. On Java, reopen the world without Allow Cheats.

8. Why is my Minecraft command not working?

Cheats may be off, you may lack operator permission, or the syntax may differ between Java and Bedrock.

9. How do I keep my inventory after dying?

Run /gamerule keepInventory true (or keep_inventory in newer Java versions).

10. How do I find a village or structure with commands?

Use /locate structure village on Bedrock. On Java, use the full structure name, such as minecraft:village_plains.

 

Similar Posts

3 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *