Copy-ready starting examples
/give @p minecraft:diamond 1/summon minecraft:zombie ~ ~1 ~/tp @p 100 64 -20How to build it
- Identify whether the result is an item, entity, effect, teleport, text display or server setting.
- Open the matching generator and select Java or Bedrock plus the intended version.
- Test a short command first, then add optional data one feature at a time.
Common mistakes
- Combining several advanced features before a basic command works.
- Pasting Java item components into Bedrock Edition.
- Using a command that is too long for chat instead of a command block.
Edition and version notes
Java 1.20.5 and newer changed custom item syntax substantially. Confirm the target version before using older NBT examples.
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.