| Type
|
Name
|
Description
|
Data
|
| 0
|
minecraft:custom_data
|
Customizable data that doesn't fit any specific component.
|
As follows:
|
| 1
|
minecraft:max_stack_size
|
Maximum stack size for the item.
|
As follows:
| Name
|
Type
|
Description
|
| Max Stack Size
|
Template:Type
|
Ranges from 1 to 99.
|
|
| 2
|
minecraft:max_damage
|
The maximum damage the item can take before breaking.
|
As follows:
|
| 3
|
minecraft:damage
|
The current damage of the item.
|
As follows:
|
| 4
|
minecraft:unbreakable
|
Marks the item as unbreakable.
|
no fields
|
| 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:item_model
|
Item's model.
|
As follows:
|
| 8
|
minecraft:lore
|
Item's lore.
|
As follows:
|
| 9
|
minecraft:rarity
|
Item's rarity. This affects the default color of the item's name.
|
As follows:
| Name
|
Type
|
Description
|
| Rarity
|
Template:Type Template:Type
|
Can be one of the following:
- 0 - Common (white)
- 1 - Uncommon (yellow)
- 2 - Rare (aqua)
- 3 - Epic (pink)
|
|
| 10
|
minecraft:enchantments
|
The enchantments of the item.
|
As follows:
|
| 11
|
minecraft:can_place_on
|
List of blocks this block can be placed on when in adventure mode.
|
As follows:
|
| 12
|
minecraft:can_break
|
List of blocks this item can break when in adventure mode.
|
As follows:
|
| 13
|
minecraft:attribute_modifiers
|
The attribute modifiers of the item.
|
As follows:
| Name
|
Type
|
Description
|
| Attribute Modifier
|
Attribute ID
|
Template:Type
|
Template:Type
|
The attribute to be modified (ID in the minecraft:attribute registry).
|
| Modifier ID
|
Template:Type
|
The modifier's unique ID.
|
| Value
|
Template:Type
|
The modifier's value.
|
| Operation
|
Template:Type Template:Type
|
The operation to be applied upon the value. Can be one of the following:
- 0 - Add
- 1 - Multiply base
- 2 - Multiply total
|
| Slot
|
Template:Type Template:Type
|
The item slot placement required for the modifier 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
|
|
| 14
|
minecraft:custom_model_data
|
Value for the item predicate when using custom item models. More info can be found here.
|
As follows:
|
| 15
|
minecraft:tooltip_display
|
Allows you to hide all or parts of the item tooltip.
|
As follows:
|
| 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:
|
| 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.
|
no fields
|
| 18
|
minecraft:enchantment_glint_override
|
Overrides the item glint resulted from enchantments
|
As follows:
|
| 19
|
minecraft:intangible_projectile
|
Marks the projectile as intangible (cannot be picked-up).
|
As follows:
| Name
|
Type
|
Description
|
| Empty
|
Template:Type
|
Always an empty Compound Tag.
|
|
| 20
|
minecraft:food
|
Makes the item restore the player's hunger bar when consumed.
|
As follows:
| Name
|
Type
|
Description
|
| Nutrition
|
Template:Type
|
Non-negative
|
| Saturation Modifier
|
Template:Type
|
How much saturation will be given after consuming the item.
|
| Can Always Eat
|
Template:Type
|
Whether the item can always be eaten, even at full hunger.
|
|
| 21
|
minecraft:consumable
|
Makes the item consumable.
|
As follows:
| Name
|
Type
|
Description
|
| Consume seconds
|
Template:Type
|
How long it takes to consume the item.
|
| Animation
|
Template:Type Template:Type
|
0: none, 1: eat, 2: drink, 3: block, 4: bow, 5: spear, 6: crossbow, 7: spyglass, 8: toot_horn, 9: brush
|
| Sound
|
Template:Type Template:Type
|
ID in the minecraft:sound_event registry, or an inline definition.
|
| Has consume particles
|
Template:Type
|
|
| Effects
|
Template:Type of Consume Effect
|
Effects to apply on consumption. See Consume Effect.
|
|
| 22
|
minecraft:use_remainder
|
This specifies the item produced after using the current item. In the Notchian server, this is used for stews, which turn into bowls.
|
As follows:
|
| 23
|
minecraft:use_cooldown
|
Cooldown to apply on use of the item.
|
As follows:
|
| 24
|
minecraft:damage_resistant
|
Marks this item as damage resistant. The client won't render the item as being on-fire if this component is present.
|
As follows:
| Name
|
Type
|
Description
|
| Types
|
Template:Type
|
Tag specifying damage types the item is immune to. Not prefixed by '#'!.
|
|
| 25
|
minecraft:tool
|
Alters the speed at which this item breaks certain blocks
|
As follows:
| Name
|
Type
|
Description
|
| Rule
|
Blocks
|
Template:Type
|
Template:Type
|
The blocks this rule applies to (IDs in the minecraft:block registry).
|
| Speed
|
Template:Type Template:Type
|
The speed at which the tool breaks this rules' blocks.
|
| Correct Drop For Blocks
|
Template:Type Template:Type
|
Whether items should drop only if this is the correct tool.
|
| Default Mining Speed
|
Template:Type
|
The mining speed in case none of the previous rule were matched.
|
| Damage Per Block
|
Template:Type
|
The amount of damage the item takes per block break.
|
| Can Destroy Blocks In Creative
|
Template:Type
|
If false, this tool prevents the player from breaking blocks in creative mode.
|
|
| 26
|
minecraft:weapon
|
Item treated as a weapon
|
As follows:
|
| 27
|
minecraft:enchantable
|
Allows the item to be enchanted by an enchanting table.
|
As follows:
| Name
|
Type
|
Description
|
| Value
|
Template:Type
|
Opaque internal value controlling how expensive enchantments may be offered.
|
|
| 28
|
minecraft:equippable
|
Allows the item to be equipped by the player.
|
As follows:
|
| 29
|
minecraft:repairable
|
Items that can be combined with this item in an anvil to repair it.
|
As follows:
| Name
|
Type
|
Description
|
| Items
|
Template:Type
|
IDs in the minecraft:item registry.
|
|
| 30
|
minecraft:glider
|
Makes the item function like elytra.
|
no fields
|
| 31
|
minecraft:tooltip_style
|
Custom textures for the item tooltip.
|
As follows:
|
| 32
|
minecraft:death_protection
|
Makes the item function like a totem of undying.
|
As follows:
|
| 33
|
minecraft:blocks_attacks
|
Makes the item act like a shield.
|
As follows:
|
| 34
|
minecraft:stored_enchantments
|
The enchantments stored in this enchanted book.
|
As follows:
|
| 35
|
minecraft:dyed_color
|
Color of dyed leather armor.
|
As follows:
| Name
|
Type
|
Description
|
| Color
|
Template:Type
|
The RGB components of the color, encoded as an integer.
|
|
| 36
|
minecraft:map_color
|
Color of the markings on the map item model.
|
As follows:
| Name
|
Type
|
Description
|
| Color
|
Template:Type
|
The RGB components of the color, encoded as an integer.
|
|
| 37
|
minecraft:map_id
|
The ID of the map.
|
As follows:
|
| 38
|
minecraft:map_decorations
|
Icons present on a map.
|
As follows:
|
| 39
|
minecraft:map_post_processing
|
Used internally by the client when expanding or locking a map. Display extra information on the item's tooltip when the component is present.
|
As follows:
|
| 40
|
minecraft:charged_projectiles
|
Projectiles loaded into a charged crossbow.
|
As follows:
|
| 41
|
minecraft:bundle_contents
|
Contents of a bundle.
|
As follows:
|
| 42
|
minecraft:potion_contents
|
Visual and effects of a potion item.
|
As follows:
|
| 43
|
minecraft:potion_duration_scale
|
A duration multiplier for items that also have the minecraft:potion_contents component.
|
As follows:
|
| 44
|
minecraft:suspicious_stew_effects
|
Effects granted by a suspicious stew.
|
As follows:
|
| 45
|
minecraft:writable_book_content
|
Content of a writable book.
|
As follows:
|
| 46
|
minecraft:written_book_content
|
Content of a written and signed book.
|
As follows:
|
| 47
|
minecraft:trim
|
Armor's trim pattern and color
|
As follows:
|
| 48
|
minecraft:debug_stick_state
|
State of the debug stick
|
As follows:
| Name
|
Type
|
Description
|
| Data
|
Template:Type
|
States of previously interacted blocks. Always a Compound Tag.
|
|
| 49
|
minecraft:entity_data
|
Data for the entity to be created from this item.
|
As follows:
| Name
|
Type
|
Description
|
| Entity Type
|
Template:Type
|
ID in the minecraft:entity_type registry.
|
| Data
|
Template:Type
|
Always a Compound Tag.
|
|
| 50
|
minecraft:bucket_entity_data
|
Data of the entity contained in this bucket.
|
As follows:
|
| 51
|
minecraft:block_entity_data
|
Data of the block entity to be created from this item.
|
As follows:
| Name
|
Type
|
Description
|
| Block Entity Type
|
Template:Type
|
ID in the minecraft:block_entity_type registry.
|
| Data
|
Template:Type
|
Always a Compound Tag.
|
|
| 52
|
minecraft:instrument
|
The sound played when using a goat horn.
|
As follows:
| Name
|
Type
|
Description
|
| Instrument
|
Template:Type Instrument
|
ID in the minecraft:instrument registry, or an inline definition.
|
|
| 53
|
minecraft:provides_trim_material
|
Used to make an item into a valid armor trim material.
|
As follows:
| Name
|
Type
|
Description
|
| Mode
|
Template:Type Template:Type
|
Defines how the following field is read, either referenced or direct.
|
| Material
|
Varies
|
|
|
| 54
|
minecraft:ominous_bottle_amplifier
|
Amplifier for the effect of an ominous bottle.
|
As follows:
|
| 55
|
minecraft:jukebox_playable
|
The song this item will play when inserted into a jukebox. Template:Warning
|
As follows:
| Name
|
Type
|
Description
|
| Mode
|
Template:Type Template:Type
|
Whether the jukebox song is specified directly, or just referenced by name. This defines how the following field is read.
|
| Jukebox Song
|
Varies
|
|
|
| 56
|
minecraft:provides_banner_patterns
|
Used to make an item into a valid banner pattern material.
|
As follows:
| Name
|
Type
|
Description
|
| Key
|
Template:Type
|
A pattern identifier like #minecraft:pattern_item/globe.
|
|
| 57
|
minecraft:recipes
|
The recipes this knowledge book unlocks.
|
As follows:
|
| 58
|
minecraft:lodestone_tracker
|
The lodestone this compass points to.
|
As follows:
| Name
|
Type
|
Description
|
| Has Global Position
|
Template:Type
|
Whether this lodestone points to a position, otherwise it spins randomly.
|
| Dimension
|
Template:Type
|
The dimension the compass points to. Only present if Has Global Position is true.
|
| Position
|
Template:Type
|
The position the compass points to. Only present if Has Global Position is true.
|
| Tracked
|
Template:Type
|
Whether the component is removed when the associated lodestone is broken.
|
|
| 59
|
minecraft:firework_explosion
|
Properties of a firework star.
|
As follows:
|
| 60
|
minecraft:fireworks
|
Properties of a firework.
|
As follows:
|
| 61
|
minecraft:profile
|
Game Profile of a player's head.
|
As follows:
|
| 62
|
minecraft:note_block_sound
|
Sound played by a note block when this player's head is placed on top of it.
|
As follows:
|
| 63
|
minecraft:banner_patterns
|
Patterns of a banner or banner applied to a shield.
|
As follows:
|
| 64
|
minecraft:base_color
|
Base color of the banner applied to a shield.
|
As follows:
|
| 65
|
minecraft:pot_decorations
|
Decorations on the four sides of a pot.
|
As follows:
|
| 66
|
minecraft:container
|
Items inside a container of any type.
|
As follows:
|
| 67
|
minecraft:block_state
|
State of a block.
|
As follows:
|
| 68
|
minecraft:bees
|
Bees inside a hive.
|
As follows:
|
| 69
|
minecraft:lock
|
Name of the necessary key to open this container.
|
As follows:
|
| 70
|
minecraft:container_loot
|
Loot table for an unopened container.
|
As follows:
|
| 71
|
minecraft:break_sound
|
Changes the sound that plays when the item breaks.
|
As follows:
|
| 72
|
minecraft:villager/variant
|
The biome variant of a villager.
|
As follows:
|
| 73
|
minecraft:wolf/variant
|
The variant of a wolf.
|
As follows:
|
| 74
|
minecraft:wolf/sound_variant
|
The type of sounds that a wolf makes.
|
As follows:
|
| 75
|
minecraft:wolf/collar
|
The dye color of the wolf's collar.
|
As follows:
|
| 76
|
minecraft:fox/variant
|
The variant of a fox.
|
As follows:
|
| 77
|
minecraft:salmon/size
|
The size of a salmon.
|
As follows:
|
| 78
|
minecraft:parrot/variant
|
The variant of a parrot.
|
As follows:
|
| 79
|
minecraft:tropical_fish/pattern
|
The pattern of a tropical fish.
|
As follows:
| Name
|
Type
|
Description
|
| Pattern
|
Template:Type Template:Type
|
0: kob, 1: sunstreak, 2: snooper, 3: dasher, 4: brinely, 5: spotty, 6: flopper, 7: stripey, 8: glitter, 9: blockfish, 10: betty, 11: clayfish.
|
|
| 80
|
minecraft:tropical_fish/base_color
|
The base color of a tropical fish.
|
As follows:
|
| 81
|
minecraft:tropical_fish/pattern_color
|
The pattern color of a tropical fish.
|
As follows:
|
| 82
|
minecraft:mooshroom/variant
|
The variant of a mooshroom.
|
As follows:
|
| 83
|
minecraft:rabbit/variant
|
The variant of a rabbit.
|
As follows:
| Name
|
Type
|
Description
|
| Variant
|
Template:Type Template:Type
|
0: brown, 1: white, 2: black, 3: white splotched, 4: gold, 5: salt, 6: evil.
|
|
| 84
|
minecraft:pig/variant
|
The variant of a pig.
|
As follows:
|
| 85
|
minecraft:cow/variant
|
The variant of a cow.
|
As follows:
|
| 86
|
minecraft:chicken/variant
|
The variant of a chicken.
|
As follows:
|
| 87
|
minecraft:frog/variant
|
The variant of a frog.
|
As follows:
|
| 88
|
minecraft:horse/variant
|
The variant of a horse.
|
As follows:
| Name
|
Type
|
Description
|
| Variant
|
Template:Type Template:Type
|
0: white, 1: creamy, 2: chestnut, 3: brown, 4: black, 5: gray, 6: dark brown.
|
|
| 89
|
minecraft:painting/variant
|
The variant of a painting.
|
As follows:
|
| 90
|
minecraft:llama/variant
|
The variant of a llama.
|
As follows:
|
| 91
|
minecraft:axolotl/variant
|
The variant of an axolotl.
|
As follows:
|
| 92
|
minecraft:cat/variant
|
The variant of a cat.
|
As follows:
|
| 93
|
minecraft:cat/collar
|
The dye color of the cat's collar.
|
As follows:
|
| 94
|
minecraft:sheep/color
|
The color of a sheep.
|
As follows:
|
| 95
|
minecraft:shulker/color
|
The color of a shulker.
|
As follows:
|