Copy-ready starting examples
/give @p minecraft:diamond_sword 1/give @p minecraft:diamond_sword[minecraft:custom_name='{"text":"Azure Sword","color":"aqua"}'] 1How to build it
- Select the target and item in the Give generator.
- Add a custom name, lore, enchantments or unbreakable data.
- Send the output to the syntax checker and test the shortest working form first.
Common mistakes
- Mixing legacy NBT and modern item components.
- Adding enchantments that the selected item normally cannot accept.
- Replacing straight quotation marks with smart quotation marks.
Edition and version notes
Java 1.20.5+ uses a different item format from 1.20.4 and earlier. Bedrock cannot express every Java custom item feature in one Give command.
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+ uses a different item format from 1.20.4 and earlier. Bedrock cannot express every Java custom item feature in one Give command.