MC CommanderUnofficial Minecraft command tools
Give Command Generator

Minecraft Give Command Generator

Create copy-ready /give commands for Java and Bedrock. Choose an item, add optional components and copy the result.

How to use

Select an item and game version, then add a name, amount or enchantment only if you need one.

Basic fallback generator

A simplified form is available while the main generator loads. It does not include every setting in the full tool.

Output

Related guide

Learn how to choose an item ID and target, then troubleshoot custom item syntax.

Give command guide

Give command not working?

If your /give command shows an unknown or incomplete command error, check item IDs, brackets, quotes, Java/Bedrock syntax and NBT/components differences.

Minecraft /give command examples and common mistakes

This page keeps the generator itself short, but the notes below explain how the generated command works and why some commands fail in chat or command blocks.

Basic /give syntax

The basic Java Edition syntax is:

/give <target> <item> [count]

For example, this gives one diamond sword to the nearest player:

/give @p minecraft:diamond_sword 1

Use @p for the nearest player, @a for all players, and a player name for a specific player.

Java 1.20.5+ item components

Newer Java versions use item components for many custom item features. If an older NBT-style command does not work, check the Minecraft version first.

GoalUseful search / feature
Custom nameminecraft custom_name component, give command custom name
Enchantmentsminecraft enchantments component, enchanted item command
Unbreakable itemminecraft unbreakable component
Why the command may not work
  • The command is for a different Minecraft version.
  • Java Edition and Bedrock Edition use different formats.
  • A bracket, quote, or comma is missing.
  • The item ID is incomplete, for example diamond_sword instead of minecraft:diamond_sword.
  • The command is pasted into chat when it is too long. Try a command block.

For a full checklist, see Minecraft give command not working.

Related pages

Minecraft Custom Item Command: Name, Lore and Tags

Related guides

Start with a command you can inspect

Try /give @p minecraft:stone 16 in a test world before making a custom item. The selector @p targets the nearest player to the command source, and the last number is the item count. Confirm the basic result first, then add a name, lore and enchantments one at a time so that any failing setting is easier to find.

Edition and version boundaries

Java Edition 1.20.5 and later use item components for custom item data; older Java NBT examples are not drop-in replacements. Bedrock Edition does not share Java's full custom item component format. Select the edition and version in the generator rather than reusing advanced Java syntax unchanged.

If the command is rejected

  1. Confirm cheats or operator permission.
  2. Run the plain stone example first.
  3. Inspect the target, item ID, count and individual custom settings.

For a more detailed diagnosis, see the give troubleshooting guide.

These are explanatory examples, not a claim that every Minecraft release has been tested in-game.