Skip to content
Generator

Command Generator

Generate Minecraft Java Edition commands for version 26.3. Select a command, fill in the parameters, and copy the result to use in-game. Commands can be pasted into the chat window (press T or /) or into command blocks for automation.

  • Works in singleplayer with cheats enabled
  • Works on servers with operator permissions
  • Compatible with command blocks

Category

Commands (86)

Select a command from the list to get started

How to use the Command Generator

Generate 70+ Minecraft commands including /give, /summon, /effect, /enchant, /attribute, /gamerule, and more. All item, entity, and effect lists update automatically based on your selected Minecraft version.

Quick steps

  1. 1Select a command type from the categorized list (give, summon, effect, etc.)
  2. 2Fill in the parameters using the interactive form with version-aware dropdowns
  3. 3Review the generated command in the output preview
  4. 4Click Copy to copy the command to your clipboard
  5. 5Paste it into your Minecraft chat, command block, or server console

Example use cases

  • Give any item from your version's item list, in any quantity, using /give
  • Spawn entities with custom attributes using /summon
  • Set up game rules for your server with /gamerule

Tips

Switch the version selector at the top of the page to get IDs accurate to your Minecraft version
You can type custom modded IDs into most dropdowns by just typing the namespace

Frequently asked questions

How do I generate a /give command for any item in Minecraft?

Select Give in the command list, pick the item from the version-aware dropdown (or type a custom ID), set the target and quantity, then copy the command. For named, enchanted or dyed items, use the Enchantment Builder, Armor Editor or Potion Editor — they write the 1.20.5+ component syntax or the older NBT for your version.

How do I use /summon to spawn a custom mob?

Pick Summon, select an entity type, set coordinates, and optionally type raw NBT — it is passed through as written, so it must match your version's format. For custom mobs with equipment, baby variants and custom names, use the dedicated Mob Builder — it gives you a 3D preview of the final entity.

Which Minecraft versions does the command generator support?

All Java Edition versions from 1.17 through to the latest, 26.3 — 32 versions total. Item IDs, entity IDs, enchantment IDs, effect IDs, and command syntax adjust automatically for the version you pick in the top-right selector.

Can I use modded items in the command generator?

Yes — the version selector also lets you add mod support. When a mod is selected its items, entities, and recipes join the vanilla dropdowns. You can also type custom IDs directly if the mod isn't in the registry yet.

Does the /effect command work with all status effects?

Yes. Pick Effect Give, choose an effect, then set duration and amplifier. All vanilla effects are available and the list updates per version (e.g. Raid Omen is only listed from 1.20.5, where it was added). Amplifier is 0-indexed: amplifier 0 is level I, amplifier 1 is level II, and so on.

Does the command generator work on Bedrock Edition?

No. It writes Java Edition syntax: namespaced IDs, item components or NBT, and commands that only Java has. Bedrock commands share many names but take different arguments, so most of these fail there. Pick your Java version and the output matches it exactly.