All Minecraft Commands
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Browse every command by category, or search below. Each one opens a dedicated page with a big Copy button, both editions, and step-by-step usage.
Give Commands
All /give commands →Get a diamond sword pre-enchanted with Sharpness V
/give @p diamond_sword[enchantments={sharpness:5}]Get an enchanted book with Mending
/give @p enchanted_book[stored_enchantments={mending:1}]Get a pickaxe that never breaks
/give @p diamond_pickaxe[unbreakable={}]Summon Commands
All /summon commands →Spawn a zombie equipped with armor
/summon zombie ~ ~ ~ {equipment:{head:{id:"diamond_helmet",count:1}}}Spawn an armor stand for displaying equipment or decoration
/summon armor_stand ~ ~ ~Effect Commands
All /effect commands →Massively increase your melee damage output
/effect give @p strength infinite 1 trueJump much higher than normal
/effect give @p jump_boost infinite 4 trueBecome immune to fire and lava
/effect give @p fire_resistance infinite 0 trueGamerule Commands
All /gamerule commands →Keep your items when you die instead of dropping them
/gamerule keepInventory trueStop creepers, endermen, and other mobs from changing blocks
/gamerule mobGriefing falseTeleport Commands
All /teleport commands →Set where you respawn after dying to your current location
/spawnpoint @s ~ ~ ~Setblock Commands
All /setblock commands →Delete a region of blocks by filling it with air
/fill ~ ~ ~ ~10 ~10 ~10 airCreate a hollow room or box out of any block
/fill ~ ~ ~ ~10 ~6 ~10 stone hollowCreate a pool or lake by filling a region with water
/fill ~ ~ ~ ~10 ~ ~10 waterSwap every block of one type for another in a region
/fill ~ ~ ~ ~10 ~10 ~10 stone replace dirtEnchant Commands
All /enchant commands →Add Sharpness V to the sword or axe you are holding
/enchant @s sharpness 5Add maximum Protection to the armor piece you are holding
/enchant @s protection 4Make your pickaxe, axe, or shovel mine much faster
/enchant @s efficiency 5Mine blocks and get the block itself instead of its drops
/enchant @s silk_touch 1Make any item last much longer before it breaks
/enchant @s unbreaking 3Utility Commands
All /misc commands →Become nearly invincible
/effect give @p resistance 999999 255 trueSwitch to Peaceful mode so hostile mobs don't spawn
/difficulty peacefulGet coordinates of the nearest village structure
/locate structure village