Type
|
Name
|
Description
|
Data
|
0
|
minecraft:custom_data
|
Customizable data that doesn't fit any specific component.
|
As follows:
Name
|
Type
|
Description
|
Data
|
NBT
|
Always a Compound Tag.
|
|
1
|
minecraft:max_stack_size
|
Maximum stack size for the item.
|
As follows:
Name
|
Type
|
Description
|
Max Stack Size
|
VarInt
|
Ranges from 1 to 99.
|
|
2
|
minecraft:max_damage
|
The maximum damage the item can take before breaking.
|
As follows:
Name
|
Type
|
Description
|
Max Damage
|
VarInt
|
|
|
3
|
minecraft:damage
|
The current damage of the item.
|
As follows:
Name
|
Type
|
Description
|
Damage
|
VarInt
|
|
|
4
|
minecraft:unbreakable
|
Marks the item as unbrekable.
|
As follows:
Name
|
Type
|
Description
|
Show In Tooltip
|
Boolean
|
Whether the Unbreakable indicator should be shown on the item's tooltip.
|
|
5
|
minecraft:custom_name
|
Item's custom name. Normally shown in italic, and changeable at an anvil.
|
As follows:
|
6
|
minecraft:item_name
|
Override for the item's default name. Shown when the item has no custom name.
|
As follows:
|
7
|
minecraft:lore
|
Item's lore.
|
As follows:
|
8
|
minecraft:rarity
|
Item's rarity. This affects the default color of the item's name.
|
As follows:
Name
|
Type
|
Description
|
Rarity
|
VarInt Enum
|
Can be one of the following:
- 0 - Common (white)
- 1 - Uncommon (yellow)
- 2 - Rare (aqua)
- 3 - Epic (pink)
|
|
9
|
minecraft:enchantments
|
The enchantments of the item.
|
As follows:
Name
|
Type
|
Description
|
Number Of Enchantments
|
VarInt
|
Number of elements in the following array.
|
Enchantment
|
Type ID
|
Array
|
VarInt Enum
|
The ID of the enchantment in the enchantment registry.
|
Level
|
VarInt
|
The level of the enchantment.
|
Show In Tooltip
|
Boolean
|
Whether the list of enchantments should be shown on the item's tooltip.
|
|
10
|
minecraft:can_place_on
|
List of blocks this block can be placed on when in adventure mode.
|
As follows:
Name
|
Type
|
Description
|
Number Of Predicates
|
VarInt
|
Number of elements in the following array.
|
Block Predicates
|
Array of Block Predicate
|
See Block Predicate.
|
Show In Tooltip
|
Boolean
|
Whether the Unbreakable indicator should be shown on the item's tooltip.
|
|
11
|
minecraft:can_break
|
List of blocks this item can break when in adventure mode.
|
As follows:
Name
|
Type
|
Description
|
Number Of Predicates
|
VarInt
|
Number of elements in the following array.
|
Block Predicates
|
Array of Block Predicate
|
See Block Predicate.
|
Show In Tooltip
|
Boolean
|
Whether the Unbreakable indicator should be shown on the item's tooltip.
|
|
12
|
minecraft:attribute_modifiers
|
The attribute modifiers of the item.
|
As follows:
Name
|
Type
|
Description
|
Number Of Attributes
|
VarInt
|
Number of elements in the following array.
|
Attribute
|
Type ID
|
Array
|
VarInt Enum
|
The ID of the attribute.
|
Unique ID
|
UUID
|
The attribute's unique ID.
|
Name
|
String
|
The attribute's name.
|
Value
|
Double
|
The attribute's value.
|
Operation
|
VarInt Enum
|
The operation to be applied upon the value. Can be one of the following:
- 0 - Add
- 1 - Multiply base
- 2 - Multiply total
|
Slot
|
VarInt Enum
|
The item slot placement required for the attribute to have effect. Can be one of the following:
- 0 - Any
- 1 - Main hand
- 2 - Off hand
- 3 - Hand
- 4 - Feet
- 5 - Legs
- 6 - Chest
- 7 - Head
- 8 - Armor
- 9 - Body
|
Show In Tooltip
|
Boolean
|
Whether the list of attributes should be shown on the item's tooltip.
|
|
13
|
minecraft:custom_model_data
|
Value for the item predicate when using custom item models. More info can be found here.
|
As follows:
Name
|
Type
|
Description
|
Value
|
VarInt
|
|
|
14
|
minecraft:hide_additional_tooltip
|
|
The following information needs to be added to this page:
|
What is considered as "additional"? What exact items does this hide?
|
|
None.
|
15
|
minecraft:hide_tooltip
|
Hides the item's tooltip altogether.
|
None.
|
16
|
minecraft:repair_cost
|
Accumulated anvil usage cost. The client displays "Too Expensive" if the value is greater than 40 and the player is not in creative mode (more specifically, if they don't have the insta-build flag enabled). This behavior can be overridden by setting the level with the Set Container Property packet.
|
As follows:
Name
|
Type
|
Description
|
Cost
|
VarInt
|
|
|
17
|
minecraft:creative_slot_lock
|
Marks the item as non-interactive on the creative inventory (the first 5 rows of items). This is used internally by the client on the paper icon in the saved hot-bars tab.
|
None.
|
18
|
minecraft:enchantment_glint_override
|
Overrides the item glint resulted from enchantments
|
As follows:
Name
|
Type
|
Description
|
Has Glint
|
VarInt
|
|
|
19
|
minecraft:intangible_projectile
|
Marks the projectile as intangible (cannot be picked-up).
The Notchian client utilizes the codec meant for chat parsing (and NBT in general) when handling this component, even though it contains no data. This causes an empty Compound Tag to be written, which is likely an unintended bug.
|
As follows:
Name
|
Type
|
Description
|
Value
|
NBT
|
Always a Compound Tag, and always empty.
|
|
20
|
minecraft:food
|
Makes the item consumable.
|
As follows:
Name
|
Type
|
Description
|
Nutrition
|
VarInt
|
Non-negative
|
Saturation
|
Boolean
|
|
Can Always Eat
|
Boolean
|
Whether the item can always be eaten, even at full hunger.
|
Seconds To Eat
|
Float
|
How long it takes to consume the item.
|
Number of effects
|
VarInt
|
Number of elements in the following array.
|
Effect
|
Type ID
|
Array
|
Potion Effect
|
The potion effect. See Potion Effect.
|
Probability
|
Float
|
The probability for this effect to be chosen.
|
|
21
|
minecraft:fire_resistant
|
Marks this item as fire resistant. The client won't render the item as being on-fire if this component is present.
|
None.
|
22
|
minecraft:tool
|
Alters the speed at which this item breaks certain blocks
|
As follows:
Name
|
Type
|
Description
|
Number of Rules
|
VarInt
|
The number of elements in the following array.
|
Rule
|
Blocks
|
Array
|
Block Set
|
The block this rule applies to. See Block Set.
|
Has Speed
|
Boolean
|
|
Speed
|
Optional Float
|
The speed at which the tool breaks this rules' blocks. Only present if Has Speed is true.
|
Has Correct Drop For Blocks
|
Boolean
|
|
Correct Drop For Blocks
|
Optional Boolean
|
Whether items should drop only if this is the correct tool. Only present if Has Correct Drop For Blocks is true.
|
Default Mining Speed
|
Float
|
The mining speed in case none of the previous rule were matched.
|
Damage Per Block
|
VarInt
|
The amount of damage the item takes per block break.
|
|
23
|
minecraft:stored_enchantments
|
The enchantments stored in this enchanted book.
|
As follows:
Name
|
Type
|
Description
|
Number of enchantments
|
VarInt
|
Number of elements in the following array.
|
Enchantment
|
Type ID
|
Array
|
VarInt Enum
|
The ID of the enchantment in the enchantment registry.
|
Level
|
VarInt
|
The level of the enchantment.
|
Show In Tooltip
|
Boolean
|
Whether the list of enchantments should be shown on the item's tooltip.
|
|
24
|
minecraft:dyed_color
|
Color of dyed leather armor.
|
As follows:
Name
|
Type
|
Description
|
Color
|
Int
|
The RGB components of the color, encoded as an integer.
|
Show In Tooltip
|
Boolean
|
Whether the armor's color should be shown on the item's tooltip.
|
|
25
|
minecraft:map_color
|
Color of the markings on the map item model.
|
As follows:
Name
|
Type
|
Description
|
Color
|
Int
|
The RGB components of the color, encoded as an integer.
|
|
26
|
minecraft:map_id
|
The ID of the map.
|
As follows:
Name
|
Type
|
Description
|
ID
|
VarInt
|
|
|
27
|
minecraft:map_decorations
|
Description here.
|
Data here.
|
28
|
minecraft:map_post_processing
|
Description here.
|
Data here.
|
29
|
minecraft:charged_projectiles
|
Description here.
|
Data here.
|
30
|
minecraft:bundle_contents
|
Description here.
|
Data here.
|
31
|
minecraft:potion_contents
|
Description here.
|
Data here.
|
32
|
minecraft:suspicious_stew_effects
|
Description here.
|
Data here.
|
33
|
minecraft:writable_book_content
|
Description here.
|
Data here.
|
34
|
minecraft:written_book_content
|
Description here.
|
Data here.
|
35
|
minecraft:trim
|
Description here.
|
Data here.
|
36
|
minecraft:debug_stick_state
|
Description here.
|
Data here.
|
37
|
minecraft:entity_data
|
Description here.
|
Data here.
|
38
|
minecraft:bucket_entity_data
|
Description here.
|
Data here.
|
39
|
minecraft:block_entity_data
|
Description here.
|
Data here.
|
40
|
minecraft:instrument
|
Description here.
|
Data here.
|
41
|
minecraft:ominous_bottle_amplifier
|
Description here.
|
Data here.
|
42
|
minecraft:recipes
|
Description here.
|
Data here.
|
43
|
minecraft:lodestone_tracker
|
Description here.
|
Data here.
|
44
|
minecraft:firework_explosion
|
Description here.
|
Data here.
|
45
|
minecraft:fireworks
|
Description here.
|
Data here.
|
46
|
minecraft:profile
|
Description here.
|
Data here.
|
47
|
minecraft:note_block_sound
|
Description here.
|
Data here.
|
48
|
minecraft:banner_patterns
|
Description here.
|
Data here.
|
49
|
minecraft:base_color
|
Description here.
|
Data here.
|
50
|
minecraft:pot_decorations
|
Description here.
|
Data here.
|
51
|
minecraft:container
|
Description here.
|
Data here.
|
52
|
minecraft:block_state
|
Description here.
|
Data here.
|
53
|
minecraft:bees
|
Description here.
|
Data here.
|
54
|
minecraft:lock
|
Description here.
|
Data here.
|
55
|
minecraft:container_loot
|
Description here.
|
Data here.
|