Build any /give command with enchantments, attributes, names, lore and the full component system.

0 chars

Uses modern Minecraft item component syntax (1.20.5+). Switch to legacy NBT tags for older versions manually if needed.

How to Use the Give Command Generator

  1. Start on the Item tab — type an item ID directly (e.g. minecraft:netherite_sword) or use the quick-pick categories (blocks, tools, weapons, armor, food, misc) to fill it in. Set a count; the field automatically caps at 1 for unstackable items like tools and armor, or 64 for stackables.
  2. Switch to Target to choose who receives the item — quick-pick buttons cover @p, @s, @a, @e, @r, or type a specific player name.
  3. Use Display for a custom item name and up to three lines of lore text, Enchants to stack any number of enchantment/level pairs, and Attributes to add attribute modifiers (health, speed, armor, and dozens of others) with a chosen operation and equipment slot.
  4. Survival sets durability state (unbreakable, max damage, current damage) for damageable items. Equip switches the whole output between a normal /give and an /item replace entity ... slot.... command that drops the item straight into a specific inventory or armor slot. Rules adds adventure-mode can_place_on / can_break block restrictions.
  5. Every tab writes into the same composed command shown at the top — copy it whenever you’re ready, or hit Clear to reset every tab back to defaults.

Command Syntax Reference

/give <target> <item>[component=value,...] [count]
/item replace entity <target> slot.<slot> with <item>[component=value,...] [count]

Since Minecraft 1.20.5, item metadata is written as a component list in square brackets after the item ID, replacing the old NBT tag syntax — this generator only outputs the modern component form. Components this tool can produce include custom_name, lore, enchantments, attribute_modifiers, unbreakable, max_damage/damage, can_place_on/can_break, and profile (for skinning a player head to a specific username).

The generator omits the trailing count entirely when it’s exactly 1, matching how most players type /give commands by hand, and only appends a component block at all if at least one field on the Display/Enchants/Attributes/Survival/Rules tabs is actually filled in — an untouched tool still outputs a clean, minimal command.

Frequently Asked Questions

Why does my item only accept a count of 1?

Tools, weapons, armor, shields, boats, minecarts, and a handful of other one-per-slot items are unstackable in vanilla Minecraft, so the Item tab automatically clamps the count field to a maximum of 1 for those IDs. Blocks, most food, and other stackable items keep the normal cap of 64.

What’s the difference between /give and the Equip tab’s /item replace mode?

Plain /give drops the item into the target’s general inventory — it lands in the first free slot. Switching Equip to “As /item replace” instead targets one exact slot, like armor.head or weapon.offhand, which is the reliable way to script an entity spawning fully equipped rather than hoping a plain /give lands in the right place.

Do I need the full component syntax, or can I still use old NBT tags?

This generator targets 1.20.5 and later, where components are the only format the game itself understands for /give. If you’re running an older version, you’ll need to translate the intent manually into that version’s NBT tag syntax — the underlying data (a custom name, an enchantment level, an attribute modifier) is conceptually the same, just written differently.

Can I combine multiple tabs into one command?

Yes — every tab contributes to the same shared command shown at the top of the tool. Set the item on the Item tab, add a name and lore on Display, stack enchantments on Enchants, and add an attribute modifier on Attributes; all four show up together in one /give line with every component packed into the same bracketed list.

Why does giving a player_head show an extra Username field?

Selecting player_head reveals a Username input because player heads use a profile component to skin the head to a specific account, rather than the old base64-encoded skull NBT. Resolving a plain username into the correct skin data requires the server to reach Mojang’s API, so this only works reliably on an online-mode server.

Related Tools

  • Give Item Commands (special cases) — dedicated builders for items with unusual give syntax, like fireworks, written books, spawn eggs, and bundles.
  • Armor Trim Generator — build a trimmed-armor /give command with a pattern/material preview instead of typing the trim component by hand.
  • Enchant Command Generator — enchant an item a player already holds instead of giving a brand-new one.
  • Item ID Browser — look up the exact ID for any item before plugging it into the Item tab.