Home Games Minecraft Cheats & Commands: Complete List
  • Minecraft Cheats & Commands – All Console Codes for Java & Bedrock

Minecraft Cheats & Commands: Complete List

Windows, macOS, Linux, Xbox, PlayStation, Nintendo Switch, Android, iOS
2009 Mojang Studios Windows, macOS, Linux, Xbox, PlayStation, Nintendo Switch, Android, iOS E10+

Minecraft Cheats & Commands (2026): Complete List

Minecraft gives players a powerful command system that can be used to change the world, teleport players, control time and weather, give items, summon entities, change game modes, apply effects and manage multiplayer worlds. This guide focuses on modern Minecraft commands and avoids old commands that are no longer part of the current vanilla command system.

Commands can be useful for survival players who want to customize their world, creative players building large projects, server administrators managing players, and anyone experimenting with Minecraft's game mechanics.

How to Use Minecraft Commands

Commands are entered through the Minecraft chat and command interface. In most situations, a command begins with a forward slash /. Start typing a command and Minecraft may display available commands and arguments depending on your version, permissions and platform.

Commands generally require cheats to be enabled or appropriate operator permissions. On multiplayer servers, the available commands depend on your permissions and the server software being used.

Command syntax can differ between Minecraft Java Edition and Minecraft Bedrock Edition. Always use the syntax supported by the edition and version you are playing.

Most Useful Minecraft Commands

Command What It Does Example
/help Displays available commands and command information. /help
/gamemode Changes a player's game mode. /gamemode creative
/tp Teleports a player or entity to another location or target. /tp @p 100 70 200
/teleport Teleports players or entities. /teleport @p 100 70 200
/give Gives an item to a player. /give @p minecraft:diamond 64
/clear Removes items from a player's inventory. /clear @p minecraft:stone
/kill Removes a selected entity or player. /kill @e[type=minecraft:zombie]
/summon Creates an entity at a selected location. /summon minecraft:zombie
/effect Applies or removes status effects. /effect give @p minecraft:speed 60 1
/enchant Applies an enchantment to a compatible item. /enchant @p minecraft:sharpness 5
/experience Adds, removes or queries experience. /experience add @p 100 points
/xp Shortcut for experience-related commands where supported. /xp 10L @p
/weather Changes the weather. /weather clear
/time Changes or queries the world time. /time set day
/difficulty Changes the world's difficulty. /difficulty hard
/locate Finds nearby structures, biomes or other supported locations. /locate structure minecraft:village_plains
/seed Displays the world's seed. /seed
/setworldspawn Sets the world's default spawn location. /setworldspawn
/spawnpoint Sets a player's personal spawn point. /spawnpoint @p
/gamerule Changes supported world gameplay rules. /gamerule keepInventory true
/difficulty Sets the game difficulty. /difficulty peaceful
/fill Fills an area with a selected block. /fill 0 64 0 10 70 10 minecraft:stone
/clone Copies blocks from one region to another. /clone 0 64 0 10 70 10 20 64 20
/setblock Changes a specific block. /setblock ~ ~ ~ minecraft:diamond_block
/execute Runs commands based on entities, positions, conditions and other contexts. /execute as @a run say Hello
/damage Applies damage to an entity where supported. /damage @p 5
/ride Controls supported riding relationships between entities. /ride @p mount @e[type=minecraft:horse,limit=1]
/tag Adds or removes tags from entities. /tag @p add builder
/team Creates and manages teams in supported versions. /team add builders
/scoreboard Creates and manages objectives, scores and player statistics. /scoreboard objectives list
/title Displays titles and subtitles on a player's screen. /title @p title {"text":"Welcome!"}
/tellraw Sends formatted text messages to players. /tellraw @p {"text":"Hello!"}
/say Sends a message from the command source. /say Welcome to the server
/msg Sends a private message to a player. /msg Player Hello
/me Displays an action message. /me is building
/playsound Plays a sound for selected players. /playsound minecraft:entity.player.levelup master @p
/particle Creates particles at a selected location. /particle minecraft:flame ~ ~1 ~
/recipe Gives or removes recipe knowledge where supported. /recipe give @p *
/advancement Manages advancements in Java Edition. /advancement grant @p everything
/attribute Manages supported entity attributes in Java Edition. /attribute @p minecraft:generic.scale base get
/data Reads or modifies NBT data in Java Edition. /data get entity @p
/bossbar Creates and manages custom boss bars in Java Edition. /bossbar list
/datapack Manages enabled data packs in Java Edition. /datapack list
/function Runs a function from a data pack or behavior system where supported. /function example:test
/random Generates or manipulates random values in versions that support the command. /random roll 1..100
/return Controls command execution return values in supported Java versions. /return 1
/place Places supported configured features, structures or templates. /place feature minecraft:oak

Minecraft Game Mode Commands

Command Purpose Example
/gamemode survival Switches a player to Survival Mode. /gamemode survival @p
/gamemode creative Switches a player to Creative Mode. /gamemode creative @p
/gamemode adventure Switches a player to Adventure Mode. /gamemode adventure @p
/gamemode spectator Switches a player to Spectator Mode where supported. /gamemode spectator @p

Useful Minecraft Gamerule Commands

The /gamerule command is one of the most useful tools for changing how a Minecraft world behaves. Available rules vary between Java Edition and Bedrock Edition and can change between versions.

Gamerule What It Does Example
keepInventory Keeps player inventory after death where supported. /gamerule keepInventory true
doDaylightCycle Controls whether the normal day and night cycle continues. /gamerule doDaylightCycle false
doWeatherCycle Controls whether weather changes naturally. /gamerule doWeatherCycle false
doMobSpawning Controls natural mob spawning where supported. /gamerule doMobSpawning false
mobGriefing Controls certain mob interactions with blocks and the environment. /gamerule mobGriefing false
doFireTick Controls whether fire spreads and naturally changes. /gamerule doFireTick false
doImmediateRespawn Controls whether the death screen is skipped when supported. /gamerule doImmediateRespawn true
naturalRegeneration Controls natural player health regeneration. /gamerule naturalRegeneration false
fallDamage Controls fall damage where supported by the edition. /gamerule fallDamage false
fireDamage Controls fire damage where supported. /gamerule fireDamage false
drowningDamage Controls drowning damage where supported. /gamerule drowningDamage false
freezeDamage Controls freezing damage where supported. /gamerule freezeDamage false
showCoordinates Displays coordinates in editions that support this gamerule. /gamerule showCoordinates true

Minecraft Item Commands

The /give command is one of the most popular Minecraft cheats because it allows players with the required permissions to obtain items without collecting them normally.

Command Example
Give Diamonds /give @p minecraft:diamond 64
Give Netherite Ingots /give @p minecraft:netherite_ingot 64
Give Gold /give @p minecraft:gold_ingot 64
Give Iron /give @p minecraft:iron_ingot 64
Give an Enchanted Book /give @p minecraft:enchanted_book
Give a Command Block /give @p minecraft:command_block
Give a Beacon /give @p minecraft:beacon

Minecraft Teleport Commands

Purpose Command
Teleport yourself to coordinates /tp @p 100 70 200
Teleport one player to another /tp PlayerOne PlayerTwo
Teleport all players /tp @a 100 70 200
Teleport all nearby players /tp @a[distance=..20] 100 70 200
Teleport yourself relative to your current position /tp @p ~ ~10 ~

Minecraft Weather Commands

Weather Command
Clear Weather /weather clear
Rain /weather rain
Thunderstorm /weather thunder

Minecraft Time Commands

Time Command
Day /time set day
Night /time set night
Noon /time set noon
Midnight /time set midnight
Specific Time /time set 6000
Add Time /time add 1000

Minecraft Mob & Entity Commands

Purpose Command
Summon a Zombie /summon minecraft:zombie
Summon a Creeper /summon minecraft:creeper
Summon a Skeleton /summon minecraft:skeleton
Summon an Iron Golem /summon minecraft:iron_golem
Summon a Villager /summon minecraft:villager
Summon a Wither /summon minecraft:wither
Summon an Ender Dragon /summon minecraft:ender_dragon
Remove All Mobs of One Type /kill @e[type=minecraft:zombie]

Minecraft Effect Commands

Effect Command
Speed /effect give @p minecraft:speed 60 1
Strength /effect give @p minecraft:strength 60 1
Jump Boost /effect give @p minecraft:jump_boost 60 2
Regeneration /effect give @p minecraft:regeneration 60 1
Night Vision /effect give @p minecraft:night_vision 600 1
Fire Resistance /effect give @p minecraft:fire_resistance 600 1
Water Breathing /effect give @p minecraft:water_breathing 600 1
Remove Effects /effect clear @p

Minecraft Server Administration Commands

Players with operator permissions can also use administrative commands to manage multiplayer servers. The exact commands and permissions can depend on the server edition and software.

Command Purpose Example
/op Grants operator permissions to a player. /op PlayerName
/deop Removes operator permissions. /deop PlayerName
/kick Removes a player from the server. /kick PlayerName
/ban Bans a player where supported. /ban PlayerName
/pardon Removes a player from a ban list. /pardon PlayerName
/whitelist Manages the server whitelist where supported. /whitelist add PlayerName
/list Displays players currently connected. /list
/save-all Forces the server to save the world. /save-all
/save-off Temporarily disables automatic world saving. /save-off
/save-on Enables automatic world saving. /save-on
/stop Stops a Minecraft server safely. /stop

Java Edition vs Bedrock Edition Commands

Not every Minecraft command works identically on every platform. Java Edition and Bedrock Edition have different command implementations, syntax and available features. Some commands listed in this guide are specific to Java Edition, while others are available on both editions with different syntax or options.

This is particularly important for advanced commands such as /attribute, /data, /advancement, /bossbar and certain command-based systems. Always check the command suggestions provided by your own game version before using advanced syntax.

Minecraft Command Blocks

Command blocks allow commands to run automatically without a player typing them into chat every time. They are widely used for adventure maps, minigames, automated systems, teleporters, custom events and other Minecraft creations.

Once a command block has been obtained, players with the necessary permissions can place it, enter a command and configure how that command should execute. Command blocks can be combined with redstone, repeat systems and conditional commands to create complex gameplay mechanics.

Minecraft Cheats and Commands FAQ

How do I enable cheats in Minecraft?

Cheats or command permissions must be enabled for the world or server. The exact process depends on whether you are playing Java Edition, Bedrock Edition, a single-player world or a multiplayer server.

What is the Minecraft teleport command?

The most common teleport command is /tp. For example, /tp @p 100 70 200 teleports the nearest player to the specified coordinates.

What is the Minecraft diamond command?

You can use the /give command to give a player diamonds. A common example is /give @p minecraft:diamond 64.

What command gives you Creative Mode?

Use /gamemode creative or specify a player with /gamemode creative @p.

What command changes the weather?

Use /weather clear for clear weather, /weather rain for rain and /weather thunder for thunderstorms where supported.

What command changes the time?

The /time set command can change the time of day. For example, /time set day changes the world to daytime.

Can Minecraft commands be used without cheats?

Most powerful commands require cheats to be enabled in a single-player world or appropriate permissions on a server. Ordinary players generally cannot use administrative commands without the required permissions.

Are Minecraft commands the same on PC, PlayStation, Xbox and Switch?

Commands are not completely identical across every edition. Minecraft Java Edition and Bedrock Edition have different command systems and syntax, so a command that works on PC Java Edition may require different syntax on Bedrock.

Final Thoughts

Minecraft's command system is much more than a simple cheat menu. With the right commands, players can change game modes, teleport across the world, obtain items, summon mobs, control weather and time, alter gameplay rules, create custom effects and build complex automated systems.

For beginners, the most useful commands to learn first are /gamemode, /tp, /give, /summon, /effect, /weather, /time, /locate and /gamerule. Advanced players can move on to commands such as /execute, /scoreboard, /fill, /clone, /function and other tools for creating custom gameplay.

Because Minecraft receives frequent updates and Java Edition and Bedrock Edition do not always share identical commands, always use syntax appropriate for the version and edition you are playing.

Developer Mojang Studios
Release Date 2009
Playtime Unlimited

Trailer

Minecraft Cheats & Commands: Complete List
8.8
4K
0:00 / 0:00
Playback speed
Subtitles