A better mental model for modern custom items
Think of a modern Minecraft item as a base item plus a set of components. The base item gives you the familiar vanilla identity — paper, sword, boots, apple — while components layer on presentation, durability, equipment rules, attributes, use behavior, and metadata.
That is different from treating a command as one giant string you hand-edit until it works. NBT.GG intentionally separates intent from syntax: the AI interprets what you meant, while deterministic code owns the exact Java 1.21.5 command syntax.
This split matters because natural language is good at “make this feel like a relic,” while code is good at quoting apostrophes, interpolating six-character hex colors, rejecting invalid slots, and counting 32,500 command characters.
Guide: making ordinary items equippable
The minecraft:equippable component lets an item occupy an equipment slot even when its base item is not armor. That means paper can be headwear, a music disc can be worn, or a custom model can act like a chest item.
What you decide
- The slot: head, chest, legs, feet, body, main hand, off hand, or saddle.
- An optional sound that plays when the item is equipped.
- Whether dispensers can equip it.
- Whether players can swap it normally.
- Whether it takes durability damage when the wearer is hurt.
- Whether interacting with an allowed entity can equip it.
What the item cannot do by itself
Equipping is a native behavior; arbitrary command execution is not. A dispenser can equip an item and that equip action can trigger its native equip sound. The item still cannot independently decide to execute /ban, teleport another player with a command, or modify a scoreboard when equipped.
Guide: food, consumables, and native effects
“Edible” is really two layers. The food component provides nutritional data. The consumable component describes the act of using the item: how long it takes, which animation plays, which sound plays, whether particles appear, and which native consume effects fire.
For a custom snack, you might give paper nutrition and saturation, make it always edible, set a half-second eating time, then apply Speed II for ten seconds. NBT.GG converts human-friendly effect levels into the zero-based amplifier Minecraft expects — level II becomes amplifier 1.
Native consume effects are especially useful because they remain inside the one-item contract. Applying or removing status effects, clearing effects, random teleportation, and playing a sound are all data-driven. “Run any command I type after eating” is not.
Use remainder
If consuming the item should leave something behind, use the remainder component. A custom drink can leave a bottle; a novelty snack can leave a stick. That behavior is encoded on the item instead of requiring a second command block.
Guide: names, gradients, and literal lore
Custom names and lore are text components. For simple names, one text object is enough. For a gradient, NBT.GG calculates a separate color for each character and emits a list of text fragments.
Literal ASCII, block, or Braille art creates a different problem: a language model may “helpfully” normalize spaces or alter a Unicode character. NBT.GG therefore has a dedicated ASCII / Braille lore field. Art pasted there never enters the model prompt: the server substitutes a short marker, then restores the exact original lines after interpretation. Triple-backtick literal blocks in the main description remain supported for advanced use.
Guide: debugging a long /give command
When a command is large, debug from the outside inward. First check the command prefix and top-level item id. Then confirm the outer component brackets are balanced. After that, inspect each top-level component independently.
The NBT.GG Command Inspector automates the first pass. It tracks quotes and nested brackets, splits only on top-level commas, shows the detected item components, and reports how close the command is to the command-block ceiling.
Common failure patterns
- A missing quote causes everything after it to be treated as one string.
- A missing closing brace changes where the next comma is interpreted.
- A resource id contains an uppercase letter or invalid character.
- A component exists in another Minecraft release but not the target syntax.
- A request combines mutually incompatible data, such as custom damageability with a stack size above one.
Structural validation can narrow the problem, but Minecraft remains the final authority on whether every nested component value is valid.
Guide: knowing when one command is not enough
The easiest way to judge a request is to ask: does the desired behavior remain as data on the item, or does it require the world to notice an event and run logic?
Names, lore, models, enchantments, equipment slots, equip sounds, gliding, attribute modifiers, durability rules, consumable effects, cooldowns, and custom data can all live on the item. By contrast, “when I hit someone,” “when I drop this,” “when I kill a mob,” or “every second while I hold it” are event conditions. Those conditions require an external system to observe the event and act.
NBT.GG treats that boundary as a feature rather than an inconvenience. If an idea exceeds one item, the generator should tell you clearly. That keeps the command trustworthy and prevents a plausible-looking hallucination from becoming part of your server setup.