Skip to main content
MC COMMANDS logoMC COMMANDS
Now updated for Minecraft 26.x & others

Build, search, and copy Minecraft commands.

A modern, platform-aware reference guide and visual command generator for Minecraft Java and Bedrock editions.

COMMAND PLATFORMS

Unified Java & Bedrock Formats

UP-TO-DATE SYNTAX

Minecraft 26.x & others Fully Supported

CLIENT-SIDE PERFORMANCE

Instant Copy-Paste Ready

REFERENCE DASHBOARD

Select your gaming platform.

Explore dedicated lists tailored to different Minecraft editions, build visuals with the generator, or view building coordinates.

Java Edition Commands

PC client reference guide. Covers comprehensive JSON component properties, NBT parameters, and advanced conditional execute statements.

Explore Java Reference

Bedrock Edition Commands

Console, Mobile, and Windows 10/11 cheat lists. Access target selector properties, spawn events, and specific gamerules.

Explore Bedrock Reference

Command Builder

Visual generator for Minecraft commands. Visually build items, coordinate selectors, effect potion buffs, and OP command blocks without code errors.

Launch Builder

Building & Coordinates

Cheat codes specifically optimized for building worlds. Cheat tools including coordinate offsets, block fillings, structure clones, and brush coordinates.

View Building Codes

Best & Cool Cheats

Curated overview of the most popular console cheat commands. Features survival adjustments, god items, teleporting guides, and game weather rules.

View Cool Cheats

Instant Jump

Quick Cheat Lookup

Select a popular Minecraft command to jump straight to its syntax:

DYNAMIC SEARCH

Looking for a specific command syntax?

SEO KNOWLEDGE HUB

Minecraft Commands: The Ultimate Guide to Cheats, Builder & Codes.

Complete platform-specific references, syntax breakdowns, and coordinate builder keys.

Minecraft is a game of infinite freedom, but sometimes, the default survival mechanics can slow down your creativity or administrative control. That is where Minecraft commands come into play. Often referred to as cheats or console codes, these commands allow players to alter game rules, spawn items, manipulate entities, and control weather or time directly in real-time. Whether you are seeking a complete minecraft commands list or looking for cool minecraft commands to spice up your game, this guide provides all the answers you need to master command syntax.

How to Enable and Use Commands for Minecraft.

Before you can execute any cheats, you must make sure they are enabled in your world settings. In Singleplayer mode, when creating a new world, simply toggle "Allow Cheats" to ON. For existing worlds, you can temporarily enable them by opening your game menu, clicking "Open to LAN," and toggling cheats on. If you are playing on multiplayer servers, you will need Administrator status, commonly known as being "Opped" (/op username).

Once enabled, using commands for minecraft is as simple as pressing the chat key (default is T or /) to open the console line. Every command must start with a forward slash (/). As you begin typing, Minecraft will show auto-complete recommendations above your chat bar to assist you with the correct syntax formats.

Understanding the Syntax: Java vs Bedrock Edition.

When exploring command guides, it is crucial to recognize that the game is divided into two primary platforms: Java Edition and Bedrock Edition. These editions use distinct code structures, impacting how commands behave.

If you are using Commands for minecraft java edition, you will notice a developer-friendly syntax. Java Edition supports deep nesting of JSON components, rich NBT data integration (used for custom enchantments, attributes, and potion modifiers), and complex conditional checks using the advanced /execute command.

On the other hand, the minecraft commands list bedrock covers versions on Xbox, PlayStation, Nintendo Switch, iOS, Android, and Windows. While Bedrock Edition commands were historically simplified, recent updates have unified syntax structures (like the modern chained execute commands). Still, Bedrock uses distinct components and spawn events rather than NBT structures, and doesn't natively support spectator mode to the same extent as Java.

Speed Up Construction with a Minecraft Commands Generator.

Constructing complex command blocks can be error-prone. One misplaced bracket or incorrect namespace identifier will lead to syntax errors in-game. To solve this, developers and map makers use a minecraft commands generator. A generator provides an interactive graphical interface where you can choose targets, item IDs, quantities, and status effects.

A good generator automatically handles the platform-specific syntax differences between Java and Bedrock, exporting clean, copy-paste-ready commands instantly. Our visual builder tool functions as an easy-to-use generator that ensures you never get a syntax error again.

The Best Minecraft Commands for Building and Survival.

Among all minecraft commands, certain codes are essential for building worlds and managing custom games. If you want to reshape landscapes, using minecraft commands for building is the ultimate shortcut:

  • /fill: Allows you to replace thousands of blocks in a specified area instantly. Perfect for clearing land or building giant walls.
  • /setblock: Places a specific block at coordinates, useful for trigger mechanisms.
  • /clone: Replicates entire structures from one area to another with custom filters.

For general gameplay, the best minecraft commands include /gamemode creative to switch play styles, /gamerule keepInventory true to secure your loot upon death, and /tp to instantly teleport across thousands of blocks. Summoning custom mobs with specific names or weapon properties using /summon is also a favorite among creators.

By bookmarking our directory, you gain access to an interactive database of commands with copyable examples, syntax summaries, and platform support details. Start experimenting today to unlock the full potential of your Minecraft worlds!

FAQ DIRECTORY

Minecraft commands FAQ.

Find quick answers to the most common questions about using, hiding, and executing cheat commands in Minecraft.

How to use commands in Minecraft?
To use commands in Minecraft, first ensure that cheats are enabled in your world settings. Press the chat key (default is T or /) to open the console line. Type your command starting with a forward slash (for example, /gamemode creative) and press Enter.
How to hide commands in Minecraft?
You can hide command block spam and direct execution feedback using game rules. Open chat and run:
# Hide player/admin command feedback:
/gamerule sendCommandFeedback false
# Hide command block outputs:
/gamerule commandBlockOutput false
How to make a wall in Minecraft with commands?
Use the /fill command to generate structures between two coordinate points. To create hollow walls without filling the center, append the outline filter:
/fill ~-5 ~0 ~-5 ~5 ~4 ~5 minecraft:stone outline
This creates a 11x5x11 hollow stone structure (wall outline) centered around your position.
How to spawn mobs in Minecraft with commands?
Use the /summon command followed by the entity's namespace. For example:
# Spawn a basic zombie at your coordinates:
/summon zombie ~ ~ ~
# Spawn a skeleton riding a spider (Java NBT):
/summon spider ~ ~ ~ {Passengers:[{id:"minecraft:skeleton"}]}
How to fly in Minecraft survival with commands?
In both Java and Bedrock Edition, the most direct way to toggle fly capabilities without changing to creative mode is the /ability command:
/ability @p mayfly true
Alternatively, you can give yourself levitation: /effect give @s levitation 30 1 or enter spectator mode: /gamemode spectator.
Can other players see commands in Minecraft?
Yes, by default, players with administrator privileges (operators or OP) will receive server broadcasts when other operators run commands. Non-admin players cannot see them. To prevent administrator broadcasts, configure the following rules:
# Disable broadcast of admin commands to logs/Opped players:
/gamerule logAdminCommands false
# Disable chat popups for executed commands:
/gamerule sendCommandFeedback false
How to turn on commands in Minecraft Java hardcore?
Cheats are locked to OFF by default in a Hardcore world. You can bypass this limitation temporarily using local multiplayer sharing:
  1. Press Esc to open the game pause menu.
  2. Click the Open to LAN button.
  3. Toggle Allow Cheats: ON.
  4. Click Start LAN World.
This permits commands for the duration of the current game session. Once you exit and reload the world, cheats will lock to OFF again.
What does @a @e @p @r @s mean in Minecraft?
These syntax variables are target selectors used to specify whom or what the command targets. They save you from having to type full usernames:
SelectorTarget MeaningCommon Example
All online players/tp @a 0 100 0
All loaded entities (players, mobs, items)/kill @e[type=creeper]
Nearest player (closest to executor)/give @p apple 5
A random online player/effect give @r speed
The self (the command execution source)/xp add @s 10 levels
How to get 9999 hearts in Minecraft?
In Minecraft Java Edition, you can get massive amounts of extra hearts using the health boost effect modifier. Run these two commands sequentially:
# 1. Grant 9999 seconds of maximum health boost at level 125 (adds rows of heart slots):
/effect give @s health_boost 9999 125 true
# 2. Grant instant healing to immediately fill the empty heart slots:
/effect give @s instant_health 1 125 true
What is the #1 rarest Minecraft item?
The Dragon Egg is the #1 rarest item in standard survival Minecraft, as only a single egg naturally spawns in a world, which occurs after defeating the Ender Dragon for the first time on the portal. For older version item leftovers, the item block variant of "Tall Grass" (which can no longer be harvested in standard modern survival) is also regarded as an exceptionally rare collector's item.