Published by
MC Commander operator
Last reviewed
Verification status
Version-specific regression tests for major generators, JavaScript/PHP syntax, and internal HTML references were checked. Not every version/output combination has been executed in Minecraft itself. Editorial policy

Copy-ready starting examples

/give @p minecraft:diamond 1
/summon minecraft:zombie ~ ~1 ~
/tp @p 100 64 -20

How to build it

  1. Identify whether the result is an item, entity, effect, teleport, text display or server setting.
  2. Open the matching generator and select Java or Bedrock plus the intended version.
  3. Test a short command first, then add optional data one feature at a time.

Common mistakes

Edition and version notes

Java 1.20.5 and newer changed custom item syntax substantially. Confirm the target version before using older NBT examples.

Open generator

Decide which command solves the task

To get an item into a player’s inventory, use /give. To place a mob into the world, use /summon. To change a status effect, use /effect. The inputs are not interchangeable: a spawn egg is an inventory item, while summoning creates an entity immediately.

For example, /give @p minecraft:diamond 1 adds an item, whereas /summon minecraft:pig ~ ~1 ~ creates an entity. A menu of dozens of controls is unnecessary until the basic action succeeds. Start in a copy of your world, then add customization through the dedicated generator.

Related pages

← Minecraft Command Solutions