Quick guide
How to generate a Minecraft give command
- Select the edition and version first. This changes the item data syntax and prevents the most common paste error.
- Choose an item and target. Use a preset or enter a valid namespaced item ID.
@ptargets the nearest player and@stargets the command executor. - Add Java item data. Set a name, lore, enchantments, unbreakable state, or glint when using Java Edition.
- Copy and paste the command. Run it in chat, a command block, a server console, or a function where you have permission.
Minecraft give command version differences
Java Edition 1.20.5 replaced the old item tag format after the item ID with square-bracket item components. Java 1.21.5 then simplified parts of the enchantment component structure. That is why a command copied from an older tutorial can fail even when the item ID is correct.
| Mode | Use it for | Item data |
|---|---|---|
| Java 1.21.5+ and 26.x | Current Java releases | Current item components |
| Java 1.20.5 to 1.21.4 | Early component releases | Components with earlier enchantment shape |
| Java 1.13 to 1.20.4 | Older Java worlds and servers | Legacy item NBT |
| Bedrock current | Bedrock chat and command blocks | Basic item, amount, and data value |
Microsoft's current Bedrock /give reference documents its supported arguments. Mojang's Java 1.20.5 release notes describe the move to item components.
Validation and limitations
The generator validates the command structure and common identifiers, but it does not contain every item, mod, data pack, server plugin rule, or command-length limit. Java lets commands create combinations above normal Survival limits. Bedrock deliberately stays basic because Java names, lore, enchantment components, and arbitrary NBT do not transfer to Bedrock syntax.
Frequently asked questions
Which Minecraft versions does this give command generator support?
It has separate output modes for Java 1.21.5 and newer, including Java 26.x, Java 1.20.5 through 1.21.4, Java 1.13 through 1.20.4, and the current Bedrock basic /give syntax.
Why are custom names and enchantments disabled in Bedrock mode?
Bedrock's plain /give command does not accept Java item components or arbitrary item NBT. The generator avoids producing Java-only data that Bedrock would reject.
Can I use a custom or modded item ID?
Yes. Enter a namespaced ID such as modname:item_name. The generator formats it but cannot verify whether that namespace exists in your world or server.
Why does an older Java command fail in 1.20.5 or newer?
Java 1.20.5 replaced the old item NBT syntax used by /give with structured item components. Select the version range that matches the game receiving the command.
Does the command require cheats?
Yes. You need cheats enabled in a local world or appropriate operator permission on a server.
Is command data uploaded?
No. Command creation and copying run locally in your browser.
Independent browser utility
This tool is provided by anas8 and is not affiliated with Mojang Studios or Microsoft. Minecraft is used only to identify the game and the relevant command, build-planning, or calculation task.