How to Use the Generated Command
- Enable cheats in a single-player world or make sure you have operator permission on a server.
- Open chat, paste the generated command, and press Enter.
- If Minecraft reports an unknown item, confirm that the selected ID exists in your exact game version.
Target Selector Quick Reference
@sgives the item to the command executor.@pselects the nearest player.@agives the quantity to every online player.- A player name targets one specific account.
Choose the Right Java Version
Java 1.13 and later uses namespaced item IDs such as minecraft:diamond. Java 1.8–1.12.2 uses a reviewed numerical ID and, for some variants, a data value. Legacy mode is enabled only when this catalog has a reviewed value for the selected item.
Need More Command Examples?
Read the Minecraft give command guide, browse the item ID list, or open the Diamond ID example. To place a block at coordinates instead of adding it to an inventory, use the Setblock Command Generator.
Want enchanted gear? This tool gives plain items. To build a weapon, tool, or armor piece with specific enchantments and levels, open the Enchanted Gear Generator — it produces the full /give command with enchantment data for both 1.20.5+ and legacy NBT formats.