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.
Need More Command Examples?
Read the Minecraft give command guide, browse the item ID list, or open the Diamond ID example.