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

Frequently asked questions

Can I paste these commands directly?

The short examples are intended as starting points. Confirm the edition and version, then test them in a copied world.

What should I check when a command turns red?

Check brackets, quotation marks, IDs, selectors and version support, then paste it into Command Explainer.

Does this work in both Java and Bedrock?

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

Related pages

← Minecraft Command Solutions