Minecraft Command Generator
Create custom Minecraft Java Edition commands easily. Generate commands for mobs, items, structures, and more.
How to use this generator
- Pick a category (Essentials, Mobs & Entities, Items & Equipment, or World & Structures).
- Select the specific command you want (for example: Teleport, Summon, Give, Enchant, or Fill).
- Fill in the fields (targets, coordinates, NBT, etc.). Your command is built live as you go.
- Click Copy to paste the command in chat or into a command block in Minecraft Java Edition.
Tip: If you need chained commands, scoreboards, or command block logic, try the Command Block Generator and our Minecraft Commands 101 guide.
Common Commands
/summon zombie ~ ~ ~ {CustomName:'{"text":"Boss Zombie"}',CustomNameVisible:1b}/give @p diamond_sword{Enchantments:[{id:"sharpness",lvl:5},{id:"unbreaking",lvl:3}]} 1/summon villager ~ ~ ~ {VillagerData:{profession:"farmer",level:2},Offers:{Recipes:[{buy:{id:"emerald",Count:1},sell:{id:"bread",Count:6}}]}}Supported commands
- /tp (Teleport)
- /effect (Status Effects)
- /enchant
- /gamemode
- /weather
- /time
- /locate
- /particle
- /title & /title actionbar
- Scoreboard helper (via Command Block Generator)
- /summon (basic mobs, villagers with trades, mounts with chest)
- /give (custom items, NBT, enchantments)
- /fill (with simple shape presets)
- Firework rocket NBT presets
- Entity/item/block selectors
- Helpful tooltips and examples
What version of Minecraft do these commands work with?
These commands are designed for Minecraft Java Edition 1.20 and newer. Some commands may work in older versions, but functionality might be limited.
Can you get preset fireworks?
Yes! Our tool comes with a variety of preset firework designs you can use easily. Simply select a preset from the Fireworks Generator and customize it to your liking.
Why aren't the commands working?
Make sure you have operator permissions or cheats enabled in your world. Some commands may also require you to be in creative mode.
Can I use these commands in multiplayer?
Yes, but you need the appropriate permissions on the server. Some commands may be restricted by server plugins or settings.
How do I use the shape presets in the Fill command?
Select a shape from the Shape Preset dropdown in the Fill tab, adjust the parameters like size and height, and the coordinates will be automatically calculated for you.