Command Generator

Game Version

Generate Minecraft Java Edition commands for version 1.21.11. 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 enabledWorks on servers with operator permissionsCompatible with command blocks

Category

Commands (85)

Select a command from the list to get started

Generated Command

How to Use the Command Generator

Generate over 30 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 yourself specific items with custom NBT data using /give
  • Spawn entities with custom attributes using /summon
  • Set up game rules for your server with /gamerule

Tips

Switch the version selector in the sidebar to get IDs accurate to your Minecraft version
You can type custom modded IDs into most dropdowns by just typing the namespace