Minecraft commands list
61 common commands by category, with syntax and a link to each guide.
Open guideStart with the command you want to run, then check the example and common mistakes. Each guide links to the corresponding generator.
Updated:
61 common commands by category, with syntax and a link to each guide.
Open guideAllow cheats, Open to LAN, chat keys and the 256 character limit.
Open guideTurn on cheats and open chat on Switch, mobile and consoles.
Open guideCopy-ready commands for coordinates, keep inventory, weather, villages and more.
Open guideClear land, lay floors, build hollow boxes and copy builds.
Open guideSetup, start, scoring and reset commands in order.
Open guideGiants, TNT rain, a knockback stick and more to copy and paste.
Open guideTest one block, then build chains and repeat loops safely.
Open guideas, at, if and run explained with short examples.
Open guideMake item, weapon, custom name and enchantment commands.
Open guideBuild enchanted items with /give and /enchant, and check level limits for Java and Bedrock.
Open guideGod sword commands for every Java format, plus what Bedrock allows.
Open guideA fully enchanted netherite set for every Java format, and the protection cap.
Open guideEquip armor, fill a hotbar slot, put a block on a player's head or clear a slot.
Open guideUnlock every recipe, grant or revoke advancements, or pick parts of the tree.
Open guideGet any player's head with the 1.20.5+ or older format, and wear it.
Open guideCustom shapes and colors, launching on the spot, and elytra rockets.
Open guideMending and other books in the 1.21.5+, 1.20.5 and older formats.
Open guideKnockback 10 stick with /give and a simple knockback arena.
Open guidePacked shulker boxes and filled chests in 1.20.5+ and older formats.
Open guideGold, bold, multi-color names and lore without italics.
Open guidePower 255 bow and a fast crossbow that stays under Quick Charge 5.
Open guideBarrier, light block levels, debug stick, command and structure blocks.
Open guideEnchanted bow, crossbow, trident and mace, and which enchantments clash.
Open guidePotion IDs, custom effects, splash and tipped arrows, Bedrock data values.
Open guideTab suggestions, F3+H, debug screen, SelectedItem and ID search.
Open guideEvery enchantment ID and max level for weapons, armor and tools.
Open guideEvery trim pattern and material, templates and older formats.
Open guidePattern IDs, colors, layering and shields with base_color.
Open guideName, lore, glint, stack size and custom_data checks.
Open guideDrop items that float, wait or never despawn.
Open guideTitle, author, pages, colors and clickable menus by version.
Open guidecan_break and can_place_on for Java and Bedrock.
Open guideChest loot, mob drops and mining drops on demand.
Open guideUnbreakable elytra, wear it directly, and flight rockets.
Open guideEfficiency, Fortune, unbreakable tools and the best fishing rod.
Open guideLocate trial chambers, give keys, heavy core and a mace.
Open guideInvisible, fixed and pre-filled item frames.
Open guideLeather armor in any color for teams and builds.
Open guideDensity, breach and wind burst on one mace.
Open guideOffhand totems that refill themselves.
Open guideA fully enchanted netherite spear.
Open guideLoyalty, Riptide and Channeling tridents.
Open guideMake any item edible, with effects.
Open guideA compass that points anywhere.
Open guideHide enchantments and change the glint.
Open guideMake an item look like another.
Open guideStack items to 99 or set durability.
Open guideWear any item or glide without an elytra.
Open guideBuild the bookshelf room instantly.
Open guideColored and pre-filled bundles.
Open guidePick any of the 8 horn sounds.
Open guideCreate mob spawn commands, named mobs and equipped mobs.
Open guideUse summon commands to spawn mobs, villagers, named mobs and boss-style enemies.
Open guideMount players and mobs on other entities, build jockeys and dismount.
Open guideSummon lit TNT, change the fuse, make TNT rain and protect terrain.
Open guideRead and change mob and block data: NoAI, Invulnerable, copying items and more.
Open guideClear dropped items or one mob type without wiping armor stands and pets.
Open guideArms, poses, gear and floating text with the current and older formats.
Open guideCustom trades, unlimited stock and fixed prices with one /summon.
Open guideAge for animals, IsBaby for zombies, permanent babies and Bedrock events.
Open guideStrike players, mobs or where you look, and what lightning transforms.
Open guideNamed boss with extra health, gear, no drops and a bossbar.
Open guideChoose the mob, delay, count and range, or give a filled spawner.
Open guideA tamed, saddled horse with max speed, jump and health.
Open guideMake mobs stand still on Java, with Bedrock alternatives.
Open guideEvery profession ID, job block, level and type, plus Bedrock.
Open guideSummon, make it fly, respawn it and give a dragon egg.
Open guideSummon, Weakness and a golden apple, plus timing and tips.
Open guideIron golems that never attack you, snow golems and copper golems.
Open guideHologram signs with color, background, size, editing and removal.
Open guideDragon and wither eggs, plus named or NoAI custom eggs.
Open guideSummon, freeze as a statue, darkness effects and stop spawning.
Open guideSummon, spawn explosion, statue and no block damage.
Open guideNamed summons, renaming with /data, colors and special names.
Open guideStart or stop raids, clear Bad Omen and remove raiders.
Open guideMake wolves, cats and parrots yours with /data.
Open guideCharged creepers, blast size and fuse time.
Open guideGiants, huge zombies and zombies that do not burn.
Open guideSlime and magma cube sizes with Size.
Open guideSummon, harness and ride a happy ghast.
Open guideSummon the mob that freezes when watched.
Open guideBlue axolotl, brown panda and more.
Open guideTrack kills and run bounty quests.
Open guideMake mobs fight in an arena.
Open guideChest, command block and riding.
Open guideInvisibility, night vision, speed, strength and other effects.
Open guideHide players and mobs, remove particles, and show teammates to each other.
Open guideWays to fly with commands: game modes, levitation, elytra and Bedrock mayfly.
Open guideChange size, jump strength, walking speed, step height and gravity, with defaults.
Open guideDeal exact damage, ignore armor with magic damage and set the attacker.
Open guideTeleport players, use coordinates and avoid common mistakes.
Open guidePlay sounds for players with /playsound: sound IDs, sources, volume and pitch.
Open guideFlames, hearts, colored dust and trails that follow players.
Open guideSwitch modes on Java and Bedrock, and set the mode for new players.
Open guideAdd levels or points on Java and Bedrock without mixing them up.
Open guideRespawn points vs world spawn, beds, and the random offset rule.
Open guideEmpty inventories, remove or count items, and build a shop payment.
Open guideMore hearts with /attribute or Health Boost, and filling them.
Open guideF3 on Java, Show Coordinates on Bedrock, and reading X, Y, Z.
Open guideEvery common effect ID, amplifier levels and clearing effects.
Open guideItem glint without enchantments and outlines through walls.
Open guideGet back to base with /tp, /spawnpoint, a /trigger warp or a plugin.
Open guideResistance V, damage game rules and Invulnerable mobs.
Open guideDeath coordinates on Java, teleport back, and the recovery compass.
Open guideInstant full health, hunger refill and a healing zone.
Open guideSpeed levels, permanent speed, Jump Boost and swimming faster.
Open guideHealth under names, hearts in the Tab list and other live stats.
Open guideWater Breathing, Conduit Power, faster swimming and underwater gear.
Open guideFace a direction, a point or a mob with /rotate or /tp.
Open guideWatch from a player or mob view and build fixed cameras.
Open guidePermanent night vision, locked daytime and light blocks.
Open guideShow hours and minutes played.
Open guideHide the locator bar or add waypoints.
Open guideShow how many times players died.
Open guideRight-click stairs to sit.
Open guideObjectives, sidebars, timers, points and minigame scoreboards.
Open guideBeginner commands for command blocks: give, tp, fill, summon, effect and execute.
Open guideLet players without operator permission run actions and clickable menus.
Open guideCreate teams, color names, stop friendly fire and split players at random.
Open guideCreate custom bars, show them to players and drive a countdown from a scoreboard.
Open guidePlace players at random start points, keep teams together and avoid the Nether roof.
Open guideRun datapack functions after a delay, build loops and cancel schedules.
Open guideMark players and mobs, select them, and run things once per player.
Open guideAbsolute, relative and local coordinates, with command block tips.
Open guideFolder layout, pack.mcmeta, functions, load and tick tags.
Open guide@p, @a, @r, @e, @s and @n, safe filters and common arguments.
Open guideWho runs the command, where it runs, and why order matters.
Open guideTitle, subtitle, actionbar, scores in text and clickable messages.
Open guidePoints, kill counts, countdown timers, winners and resets.
Open guidePrivate messages, team chat and /me.
Open guideFixed views, smooth cutscenes and fades on Bedrock.
Open guideSetup, start, scoring and reset commands in order.
Open guideColored chat, player names, scores and click text on Java and Bedrock.
Open guideas, at, if, unless, positioned and store with Java and Bedrock examples.
Open guideGet a block, test one command, then build chains and repeat loops safely.
Open guideDice rolls, odds and draws on Java, and the Bedrock scoreboard alternative.
Open guideGiants, TNT rain, a knockback stick, lightning pigs and more.
Open guideCheckpoints, send fallen players back, a finish message and a timer.
Open guideHidden name tags, a blinded seeker, a timer and glowing hiders.
Open guideNo friendly fire, equal kits, a kill counter and a win message.
Open guideGlowing taggers, one-hit tags and caught runners joining the taggers.
Open guideFeather jump, speed boots and a flaming wand with execute if items.
Open guideA lightning wand, a blink stick and cooldowns.
Open guideDrop anvils and blocks from the sky.
Open guidePlay music disc songs for every player.
Open guideBlocks that change where you walk.
Open guideJump, speed, warp and healing pads.
Open guideCatch anyone who moves and send them back.
Open guideDig the floor out from under other players.
Open guideA random chest with hot and cold hints.
Open guideA floor that vanishes behind you.
Open guideLand in water to reach the next stage.
Open guideWaves of zombies that restart when cleared.
Open guideSteal the enemy banner and bring it home.
Open guideCheckpoints, laps and a timer for boat racing.
Open guidePoints for hitting a target block with arrows.
Open guideCount mined blocks and rank players.
Open guidePay emeralds for a random prize.
Open guideAn iron door that opens for key holders.
Open guideSurvival with no natural regeneration.
Open guideRun commands when players enter or leave.
Open guideGive new players items once.
Open guideRun commands when players crouch.
Open guideWelcome new and returning players.
Open guideAltars and items that come back.
Open guideKeys, hints and a timer.
Open guideAnswer by standing on a floor.
Open guideA 3, 2, 1, go timer with command blocks.
Open guideSave command results to scores.
Open guideRandom rewards when a block breaks.
Open guideOne vote each with chat buttons.
Open guideReal-time timers for races.
Open guidePitfalls, arrows, lightning and poison.
Open guideDarkness, sounds and jump scares.
Open guideOld camelCase names, the new 1.21.11 names and Bedrock names for the most-used game rules.
Open guideKeep items on death: the 1.21.11 name, the old name and the Bedrock name.
Open guideLet one player skip the night with players sleeping percentage.
Open guideSet and shrink the world border, and use the 1.21.11 tick-based timing correctly.
Open guideUnderstand server.properties and choose safe values.
Open guideFind the nearest village, stronghold, ancient city or biome.
Open guideCopy or move a building, reset an arena, and stay under the block limit.
Open guideDay, night, tick values, stopping the clock and the 26.1 changes.
Open guideClear, rain and thunder, keeping it clear, and summoning lightning.
Open guidePlace single blocks with facing, modes and chests full of items.
Open guidePeaceful to Hard, what changes, and server settings.
Open guideSpeed up, slow down, freeze and step the game in Java 1.20.3+.
Open guideTravel between dimensions with /execute in, land safely, convert coordinates.
Open guideTurn on the whitelist, add players and fix not white-listed errors.
Open guideFind the cause: TPS, entities, redstone, distance, chunks and RAM.
Open guideName spoofing, whitelist bypass, UUID changes and proxy setups.
Open guideFloors, walls, hollow rooms, replace filters and the size limit.
Open guideWhat each setting controls, chunk counts and values by player count.
Open guideKeep inventory, frozen day and weather, no mob spawning.
Open guideSigns with text, colors, glowing and wax, plus clickable warp signs.
Open guideOperator levels, kicking, banning and IP bans for Java servers.
Open guideChange the biome of an area on Java, with limits and replace filters.
Open guideSpawn villages, temples and trees on Java with /place.
Open guideKeep chunks loaded on Java, and tickingarea on Bedrock.
Open guideFind your world seed on Java, servers and Bedrock.
Open guideCopy-ready commands for coordinates, keep inventory, weather and more.
Open guideClear land, floors, hollow boxes, copies and invisible light.
Open guidePeaceful, the spawning and phantom game rules, and mob-free areas.
Open guideStop creepers and endermen breaking blocks, and what else it switches off.
Open guide61 commands in one list with syntax and links to full guides.
Open guideSave a build and load it rotated or mirrored.
Open guideUnbreakable, damage-free lobby with warps and a welcome sign.
Open guideRead inventories and ender chests, and count items.
Open guideClear stone with /fill so only ores remain.
Open guideShow the day number and time on screen.
Open guideBuild the floating starter island with commands.
Open guideGame rule, teams and server settings.
Open guideBuild a full beacon pyramid in seconds.
Open guideDrain water or lava with fill.
Open guideRemove trees and grass with fill.
Open guideJump up, sneak down.
Open guideChoose the right generator for /give, /summon, /effect, scoreboard and execute commands.
Open guideFix common Minecraft command syntax errors.
Open guideFix /give errors, old NBT examples, components and Java/Bedrock syntax mistakes.
Open guidePaste a command and detect common syntax mistakes in the browser.
Open toolWhy item commands changed in 1.20.5 and how to convert them.
Open guideWrong IDs, Peaceful, NBT case and types, 1.21.5 changes.
Open guideMissing run, as vs at, old Bedrock syntax and condition mistakes.
Open guideWhy a selector matches nothing and how to narrow it down.
Open guidePrevious Output, server setting, redstone, chains and @s.
Open guideSelector arguments, effect and give syntax, IDs and edition-only commands.
Open guidePermission, edition, target and coordinates, then fixes by symptom.
Open guideArguments, bracket notation, typing rules, permission and errors.
Open guideCheats, opening chat on each device, and typing tips.
Open guideAllow cheats, Open to LAN, chat keys and the 256 character limit.
Open guideFind your version and the updates that changed command syntax.
Open guideWhat the red part means and how to fix the ID or item data.
Open guideIf you are new to commands, first try /give @p minecraft:stone 1 in a Java Edition test world with permission to run commands. Then choose a guide based on your goal: items, entities, effects, or scores. Each guide provides examples, explains command arguments and describes common version or permission problems. Commands involving custom data should always be checked against the exact edition and version before use on a live server.