On page 9 sections
Briefly
How to remove a component and hide the tooltip line - below are all the others
-
Remove a component that an item has
/give @s minecraft:diamond_sword[!minecraft:attribute_modifiers] -
Hide enchantment in tooltip
/give @s minecraft:diamond_sword[tooltip_display={hidden_components:["minecraft:enchantments"]}]
Components are written in square brackets after the item id: /give @s minecraft:stick[max_stack_size=16]. Several - separated by commas, remove the component - exclamation point before the name.
- Component name and “=” sign after item id, in square brackets:
minecraft:diamond_sword[unbreakable={}]. Namespaceminecraft:can be omitted from the component name. - Text - name and description - is written by the object
{text:"…",color:"gold"}or just a string. A string with JSON inside is the old way: since 1.21.5 the game shows it as is, with brackets. - Enchantment - without wrapper
levels:enchantments={sharpness:5}. Recordenchantments={levels:{…}}from the old guides the game rejects. - The game will not accept a name with a typo at all:
/give @s minecraft:stick[custom_nme="x"]- “Unknown item component” error.
It is more convenient to assemble commands in generator /give, and the old ones - transferred to the current entry Command converter. The time components of the game (creative_slot_lock, special_trade_cost, Map_post_processing) are not written in /give; the game does not know them.
My name is... custom_name
The name of the object, as after renaming it on the overdo: italic, unless you say italic:false. It's written by an object with color and style or just a string.
/give @s minecraft:diamond_sword[custom_name={text:"Экскалибур",color:"gold",italic:false}]Description (lore) — lore
Lines below the name in the tooltip. List: each line is its own object or its own string.
/give @s minecraft:paper[lore=[{text:"Пропуск на спавн",color:"gray"},"Вторая строка"]]Charm — enchantments
The enchantments of the object are: id and level. C 1.21.5 - without the strings: writing enchantments=(Levels:} the game is rejected. The level can be set above the normal ceiling.
/give @s minecraft:diamond_sword[enchantments={sharpness:5,unbreaking:3}]The Charm in the Book — stored_enchantments
The enchantments of a enchanted book are what it puts on an object on the edge. It's another component, it's not enchants: a book with enchantments is glittering, but there's nothing on it.
/give @s minecraft:enchanted_book[stored_enchantments={mending:1}]Indestructible — unbreakable
The item does not consume Unbreaking. The value is empty curly braces.
/give @s minecraft:diamond_pickaxe[unbreakable={}]The size of the pile — max_stack_size
How many pieces are placed in a single cell: 1 to 99. No more than 99 games will be accepted. An object with strength (max_damage) can't go down: such an /give game will reject.
/give @s minecraft:ender_pearl[max_stack_size=64]Unbreaking - max_damage
How many strokes or use will survive the object. Together with the damage, how much has been spent. You can give strength to something that didn't have it.
/give @s minecraft:stick[max_damage=100,damage=50]Endurance — damage
How much durability has already been spent: 0 - new item. There is no more max_damage.
/give @s minecraft:diamond_sword[damage=1500]Leather armor color - dyed_color
The color of leather armor and other painted items is a number (RGB as a whole) or three fractions from 0 to 1.
/give @s minecraft:leather_chestplate[dyed_color=16711680]Armour cutting-- trim
The pattern and finishing material are like after a blacksmith's table.
/give @s minecraft:diamond_chestplate[trim={pattern:"minecraft:coast",material:"minecraft:gold"}]Your model (situm_model_data) — custom_model_data
The numbers, flags, rows and colors by which a resource pack selects an object model. Nothing changes on its own -- you need a package that reads them.
/give @s minecraft:stick[custom_model_data={strings:["sword"]}]Food — food
How much hunger and satiety the item provides and whether it can be eaten on a full stomach. In order for an item to be eaten at all, it must also be consumable.
/give @s minecraft:stick[food={nutrition:4,saturation:2.4,can_always_eat:true},consumable={}]Intensity — equippable
In which slot the item is equipped. A block with an equippable slot:head is placed on the head like a pumpkin.
/give @s minecraft:diamond_block[equippable={slot:"head"}]-
Glitter without enchantment
/give @s minecraft:stick[enchantment_glint_override=true] -
Doesn't burn in lava
/give @s minecraft:diamond_sword[damage_resistant={types:"#minecraft:is_fire"}] -
Name as a string
/give @s minecraft:diamond_sword[custom_name="Экскалибур"]
Each example on the page is verified by analyzing the game itself.
| Component | What it does | Which items have |
|---|---|---|
item_name |
The normal item name is not italicized and cannot be erased with an anvil. | for all items |
item_model |
Which model draws the object: substitute another id - the object will look like him. | for all items |
rarity |
Rarity - name color: common, uncommon, rare or epic. | for all items |
tooltip_display |
Hide the entire tooltip or individual lines. | for all items |
enchantment_glint_override |
Does the item shine: true - always, false - never, even with enchantments. | The decouple, the Enchanted Book, Enchanted Golden Apple, End Crystal, Bubble of experience and 2 more |
tooltip_style |
Your own background and hint frame (from the resource pack). | from no one - only by command |
attack_animationnew in 26.x |
Animation of the hand when hit by an object. | for all items |
interact_animationnew in 26.x |
Hand animation when using an item. | for all items |
map_id |
Card number. | from no one - only by command |
map_decorations |
Icons on the map: on treasure and explorer maps. | Map of abandoned camp, map of ancient city, map of abandoned mine, map of treasure, map of testing palace and 12 more |
profile |
Whose skin is on the player's head. | from no one - only by command |
note_block_sound |
What sound does the head make above the note block. | from no one - only by command |
banner_patterns |
Layers of flag patterns. | Black Banner, Blue Banner, Brown Banner, Cyan Banner, Gray Banner And 12 more. |
base_color |
The color of the base of the shield. | from no one - only by command |
pot_decorations |
Shards on the sides of the vase. | Decorated Pot |
break_sound |
Sound when an item breaks. | for all items |
sign_text_frontnew in 26.x |
Text on the front of the plate. | Acacia Hanging Sign, Acacia Sign, Bamboo Hanging Sign, Bamboo Sign, Birch Hanging Sign And 21 more. |
sign_text_backnew in 26.x |
Text on the back of the plate. | Acacia Hanging Sign, Acacia Sign, Bamboo Hanging Sign, Bamboo Sign, Birch Hanging Sign And 21 more. |
waxednew in 26.x |
The sign from such an object comes out already waxed - the text on it cannot be changed. | from no one - only by command |
| Component | What it does | Which items have |
|---|---|---|
use_effects |
While the item is being used: is it possible to run, how much does the speed drop, and is it noisy for the rolling pin? | for all items |
minimum_attack_charge |
How much the attack bar must be charged for the attack to work. For copies - completely. | Copper Spear, Diamond Spear, Golden Spear, Iron Spear, Netherite Spear And two more. |
damage_type |
The type of damage the item hits. There are copies. | Copper Spear, Diamond Spear, Golden Spear, Iron Spear, Netherite Spear And two more. |
can_place_on |
On which blocks the item can be placed in adventure mode. | from no one - only by command |
can_break |
What blocks the item can break in adventure mode. | from no one - only by command |
attribute_modifiers |
Increases to attributes: damage, speed, armor and any others. | for all items |
repair_cost |
Penalty for past work on the anvil. | for all items |
intangible_projectile |
A fired projectile cannot be recovered. | from no one - only by command |
consumable |
The item can be eaten or drunk: how long does it last, what is the animation and what happens after. | Apple, Baked Potato, Raw Beef, Beetroot, Beetroot Soup And 38 more. |
use_remainder |
What remains in the hand after use: a bowl of soup, a bottle of potion. | Beetroot Soup, Honey Bottle, A Milk Bucket Mushroom Stew, Potion And two more. |
use_cooldown |
Pause after use, in seconds. Ender pearls, chorus fruits, and wind charges have them. | Chorus Fruit, Ender pearls, Wind Charge |
damage_resistant |
From what damage an object on the ground does not disappear: netherite - from fire and lava, nether star - from an explosion. | Ancient DebrisThe Star of Neser, Netherite Axe, Block of Netherite, Netherite Boots And 12 more. |
tool |
Tool properties: which blocks and how quickly it breaks. | Copper Axe, Copper Hoe, Copper Pickaxe, Copper Shovel, Copper Sword And 33 more. |
weapon |
How much durability the blow consumes and for how many seconds it turns off the shield (for axes - 5). | Copper Axe, Copper Hoe, Copper Pickaxe, Copper Shovel, Copper Spear And 39 more. |
attack_range |
Impact range. There are copies. | Copper Spear, Diamond Spear, Golden Spear, Iron Spear, Netherite Spear And two more. |
enchantable |
How well the item is enchanted on the table: the higher the number, the better the enchantment. | Book, Bow, Chainmail Boots, Chainmail Chestplate, Chainmail Helmet And 72 more. |
repairable |
What is repaired on an anvil. | Chainmail Boots, Chainmail Chestplate, Chainmail Helmet, Chainmail Leggings, Copper Axe And 70 more. |
glider |
When equipped, the item allows you to glide like an elytra. | Elytra |
death_protection |
Saves from death, like a totem of immortality, and what it does at the same time. | Totem of Undying |
blocks_attacks |
The item blocks attacks like a shield. | Shield |
piercing_weapon |
Pierce. There are copies. | Copper Spear, Diamond Spear, Golden Spear, Iron Spear, Netherite Spear And two more. |
kinetic_weapon |
Acceleration Damage: Hit harder at speed. There are copies. | Copper Spear, Diamond Spear, Golden Spear, Iron Spear, Netherite Spear And two more. |
block_transformernew in 26.x |
What the item does to the block when used: with axes, shovels and hoes. | Copper Axe, Copper Hoe, Copper Shovel, Diamond Axe, Diamond Hoe And another 16. |
villager_foodnew in 26.x |
How much satiety an item gives a resident. Bread, carrots, potatoes and beets have them. | Beetroot, Bread, Carrot, Potato |
dyenew in 26.x |
What dye is this item. | Black Dye, Blue Dye, Brown Dye, Cyan Dye, Gray Dye And 11 more. |
provides_trim_material |
What finishing material does the item serve on the blacksmith table? | A piece of amethyst, Copper Ingot, Diamond, Emerald, Gold Ingot And six more. |
provides_banner_patterns |
What flag patterns the item unlocks in the loom. | Bordure Indented Banner Pattern, Banner Pattern, Field Masoned Banner Pattern, Banner Pattern, Banner Pattern And five more. |
compostablenew in 26.x |
How many layers an item produces in a compost bin. | Acacia Leaves, Acacia Sapling, Allium, Apple, Azalea And 117 more. |
cooking_fuelnew in 26.x |
An object burns in a furnace: how long and how quickly. | Acacia Boat, Acacia Button, Acacia Boat with Chest, Acacia Door, Acacia Fence And another 342 |
brewing_fuelnew in 26.x |
Item - potion brewer fuel. Fire powder has it. | Blaze Powder |
mob_visibilitynew in 26.x |
How much worse the mob notices the one wearing the item: the creeper's head hides from the creepers. | Creeper Head, Piglin Head, Skeleton Skull, Zombie Head |
provides_pottery_patternnew in 26.x |
What pattern does the shard give to the vase. | Angler Pottery Sherd, Archer Pottery Sherd, Arms Up Pottery Sherd, Blade Pottery Sherd, Brewer Pottery Sherd And 18 more. |
| Component | What it does | Which items have |
|---|---|---|
custom_data |
Own data for plugins and datapacks. The game doesn't read them, but stores them. | from no one - only by command |
charged_projectiles |
What is loaded into the crossbow. | Crossbow |
bundle_contents |
What's in the bag. | Black Bundle, Blue Bundle, Brown Bundle, Bundle, Cyan Bundle And 12 more. |
potion_contents |
Potion: effects and color. | Lingering Potion, Potion, Splash Potionthe Tipped Arrow |
potion_duration_scale |
Proportion of duration of effects: for a settling potion - a quarter, for an arrow - an eighth. | Lingering Potionthe Tipped Arrow |
suspicious_stew_effects |
Suspicious stew effect. | Suspicious Stew |
writable_book_content |
Book pages with a feather. | Book and Quill |
written_book_content |
Title, author and pages of the signed book. | from no one - only by command |
debug_stick_state |
What property of each block is selected from the debugging stick. | Debug Stick |
entity_data |
Data of the creature that will appear from the object (spawn egg, stand, frame). | Allay Spawn Egg, Armadillo Spawn Egg, Axolotl Spawn Egg, Bat Spawn Egg, Bee Spawn Egg And 83 more. |
bucket_entity_data |
These creatures are in the bucket: fish, axolotl, tadpole, sulfur cube. | Axlotl in a bucket, Treska in a bucket and Iglobruch in a bucket; Bucket of Salmon with a gray cube in a bucket. |
block_entity_data |
Block entity data that will come with the block. | from no one - only by command |
instrument |
The melody of a goat's horn. | Goat Horn |
ominous_bottle_amplifier |
Evil bottle effect level. | Ominous Bottle |
jukebox_playable |
What record the item is playing in the player. | Music Disc, Music Disc, Music Disc, Music Disc, Music Disc And 17 more. |
recipes |
Recipes that the Knowledge Book opens. | Knowledge Book |
lodestone_tracker |
Where the compass points: to magnetite or point. | from no one - only by command |
firework_explosion |
Fireworks star: shape, colors, trail and twinkle. | from no one - only by command |
fireworks |
Fireworks rocket: flight duration and stars. | Firework Rocket |
container |
Container contents (chest, shulker, etc.) that will go along with the block. | Acacia Shelf, Bamboo Shelf, Barrel, Birch Shelf, Black Shulker Box And 40 more. |
block_state |
Properties of the block that will emerge from the item. | Bee Nest, Beehive, Copper Golem Statue, Exposed Copper Golem Statue, Light and 7 more |
bees |
Bees inside a hive or nest. | Bee Nest, Beehive |
sulfur_cube_contentnew in 26.x |
What the sulfur cube holds inside. | from no one - only by command |
lock |
Container lock: can only be opened with an object that meets the conditions. | from no one - only by command |
container_loot |
Loot table that will fill the container when first opened. | from no one - only by command |
| Component | What it does | Which items have |
|---|---|---|
villager/variant |
Type of resident from an egg or bucket. | from no one - only by command |
wolf/variant |
Wolf color. | from no one - only by command |
wolf/sound_variant |
Voice of the wolf. | from no one - only by command |
wolf/collar |
The color of the wolf's collar. | from no one - only by command |
fox/variant |
Fox color. | from no one - only by command |
salmon/size |
Salmon size. | from no one - only by command |
parrot/variant |
Parrot color. | from no one - only by command |
tropical_fish/pattern |
Tropical fish pattern. | from no one - only by command |
tropical_fish/base_color |
Primary color of tropical fish. | from no one - only by command |
tropical_fish/pattern_color |
Tropical fish pattern color. | from no one - only by command |
mooshroom/variant |
Mushroom cow color. | from no one - only by command |
rabbit/variant |
Rabbit color. | from no one - only by command |
pig/variant |
Pig color. | from no one - only by command |
pig/sound_variantnew in 26.x |
Voice of a pig. | from no one - only by command |
cow/variant |
Cow color. | from no one - only by command |
cow/sound_variantnew in 26.x |
The voice of a cow. | from no one - only by command |
chicken/variant |
Chicken color. Standing by the eggs: which chicken will hatch. | Blue egg, Brown egg, Egg |
chicken/sound_variantnew in 26.x |
Voice of a chicken. | from no one - only by command |
zombie_nautilus/variant |
Zombie nautilus coloring. | from no one - only by command |
frog/variant |
Frog color. | from no one - only by command |
horse/variant |
Horse suit. | from no one - only by command |
painting/variant |
What picture will hang from the object. | from no one - only by command |
llama/variant |
Llama color. | from no one - only by command |
axolotl/variant |
Axolotl color. | from no one - only by command |
cat/variant |
Cat color. | from no one - only by command |
cat/sound_variantnew in 26.x |
Voice of a cat. | from no one - only by command |
cat/collar |
The color of the cat's collar. | from no one - only by command |
sheep/color |
The color of a sheep's wool. | from no one - only by command |
shulker/color |
Shulker color. | from no one - only by command |
cushion/colornew in 26.x |
Pillow color. | Black Cushion, Blue Cushion, Brown Cushion, Cyan Cushion, Gray Cushion And 11 more. |
What are item components in Minecraft?
The item in square brackets after its id in /give: name, description, enchantments, strength, size of pile, and so on. With 1.20.5, they replaced NBT.
How to name an item using /give?
A component of the system_name: /give @s minor:diamond_sword[system_name={text:"Excalibur",color:"gold",italic:false}]. C 1.21.5 text is written by an object or row — a line with JSON inside is shown as it is.
How to make a stack larger than 64?
The component max_sack_size is between 1 and 99: /give @s minor:ender_pearl[max_stake_size=64]. The object with strength can no longer give 1.
- Where to find the spawner
- Amethyst and geodes
- Superflat world
- Experiments
- Mob groups
- Unreceivable blocks
- Titles in English
- Who are mobs afraid of?
- Item stacks
- Chunk and region calculator
- Graphics Settings
- Blocks that fall
- How to find out the world seed
- Generator /give
- Command converter /give
- Item stacks
- Item IDs
Entire Wiki Ready commands /giveGenerator /giveConverter /giveGenerator: Potential objectGenerator: Showing object by imageGenerator: Your own foodGenerator: 3D item model
According to Minecraft 26.3, files, tags, building templates, and client code, the assembly checks each number by game itself, not by memory.