Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Item modifier: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: updated from Minecraft
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(One intermediate revision by the same user not shown)
Line 104: Line 104:
<div id="function_enchant_with_levels" style="margin-block-end: 1em;">
<div id="function_enchant_with_levels" style="margin-block-end: 1em;">
*'''enchant_with_levels'''&mdash;Enchants the item, with the specified [[Minecraft:Enchantment mechanics#How Enchantments Are Chosen|enchantment level]] (roughly equivalent to using an [[Minecraft:enchanting table]] at that level). A book converts to an [[Minecraft:enchanted book]].
*'''enchant_with_levels'''&mdash;Enchants the item, with the specified [[Minecraft:Enchantment mechanics#How Enchantments Are Chosen|enchantment level]] (roughly equivalent to using an [[Minecraft:enchanting table]] at that level). A book converts to an [[Minecraft:enchanted book]].
**{{nbt|int}}{{nbt|compound|levels}}: [[Minecraft:Loot_table#Number provider|Number provider]]. Specifies the enchantment level to use.
**{{nbt|int}}{{nbt|compound|levels}}: [[Minecraft:Number provider]]. Specifies the enchantment level to use.
**{{nbt|string}}{{nbt|list|options}}: Optional. {{json ref/enchantment|tag=1}}. List of enchantments to choose from. If omitted, all enchantments are possible.
**{{nbt|string}}{{nbt|list|options}}: Optional. {{json ref/enchantment|tag=1}}. List of enchantments to choose from. If omitted, all enchantments are possible.
**{{nbt|boolean|include_additional_cost_component}}. Optional, defaults to {{cd|false}}. Whether to add a {{cd|additional_trade_cost}} component to the item. The value is equal to the value determined by {{nbt|int}}{{nbt|compound|levels}}.
**{{nbt|boolean|include_additional_cost_component}}. Optional, defaults to {{cd|false}}. Whether to add a {{cd|additional_trade_cost}} component to the item. The value is equal to the value determined by {{nbt|int}}{{nbt|compound|levels}}.
Line 111: Line 111:
<div id="function_looting_enchant" style="margin-block-end: 1em;">
<div id="function_looting_enchant" style="margin-block-end: 1em;">
*'''enchanted_count_increase'''&mdash;Adjusts the stack size based on the level of the specified enchantment on the {{cd|killer}} entity provided by [[Minecraft:loot context]].
*'''enchanted_count_increase'''&mdash;Adjusts the stack size based on the level of the specified enchantment on the {{cd|killer}} entity provided by [[Minecraft:loot context]].
**{{nbt|int}}{{nbt|compound|count}}: A [[Minecraft:Loot_table#Number provider|number provider]]. Specifies the number of additional items per level of the enchantment. Note the number may be fractional, rounded after multiplying by the enchantment level.
**{{nbt|int}}{{nbt|compound|count}}: A [[Minecraft:number provider]]. Specifies the number of additional items per level of the enchantment. Note the number may be fractional, rounded after multiplying by the enchantment level.
** {{nbt|int|limit}}: Specifies the maximum amount of items in the stack after the enchantment calculation. If the value is 0, no limit is applied. Defaults to 0.
** {{nbt|int|limit}}: Specifies the maximum amount of items in the stack after the enchantment calculation. If the value is 0, no limit is applied. Defaults to 0.
** {{nbt|string|enchantment}}: {{json ref/enchantment}}. The enchantment whose levels should be used to calculate the count.
** {{nbt|string|enchantment}}: {{json ref/enchantment}}. The enchantment whose levels should be used to calculate the count.
Line 150: Line 150:
** {{nbt|int|limit}}: An integer to specify the exact limit to use.
** {{nbt|int|limit}}: An integer to specify the exact limit to use.
** {{nbt|compound|limit}}: Limits the count between a minimum and maximum value.
** {{nbt|compound|limit}}: Limits the count between a minimum and maximum value.
*** {{nbt|int}}{{nbt|compound|min}}: Optional. A [[Minecraft:Loot_table#Number provider|number provider]]. Minimum limit to use.
*** {{nbt|int}}{{nbt|compound|min}}: Optional. A [[Minecraft:number provider]]. Minimum limit to use.
*** {{nbt|int}}{{nbt|compound|max}}: Optional. A [[Minecraft:Loot_table#Number provider|number provider]]. Maximum limit to use.
*** {{nbt|int}}{{nbt|compound|max}}: Optional. A [[Minecraft:number provider]]. Maximum limit to use.
</div>
</div>


Line 179: Line 179:
**** {{nbt|string|attribute}}: The [[Minecraft:resource location]] of the attribute this modifier is to act upon.
**** {{nbt|string|attribute}}: The [[Minecraft:resource location]] of the attribute this modifier is to act upon.
**** {{nbt|string|operation}}: The operation of this attribute modifier. One of <code>add_value</code>, <code>add_multiplied_base</code>, or <code>add_multiplied_total</code>.
**** {{nbt|string|operation}}: The operation of this attribute modifier. One of <code>add_value</code>, <code>add_multiplied_base</code>, or <code>add_multiplied_total</code>.
**** {{nbt|float}}{{nbt|compound|amount}}: A [[Minecraft:Loot_table#Number provider|number provider]]. Specifies the amount of the modifier.
**** {{nbt|float}}{{nbt|compound|amount}}: A [[Minecraft:number provider]]. Specifies the amount of the modifier.
**** {{nbt|string|id}}: [[Minecraft:Resource location]] to assign the modifier.
**** {{nbt|string|id}}: [[Minecraft:Resource location]] to assign the modifier.
**** {{nbt|string|slot}}: Sets the slots the item must be in for the modifier to take effect. One of: <code>mainhand</code>, <code>offhand</code>, <code>feet</code>, <code>legs</code>, <code>chest</code>, <code>head</code>.
**** {{nbt|string|slot}}: Sets the slots the item must be in for the modifier to take effect. One of: <code>mainhand</code>, <code>offhand</code>, <code>feet</code>, <code>legs</code>, <code>chest</code>, <code>head</code>.
Line 215: Line 215:
<div id="function_set_count" style="margin-block-end: 1em;">
<div id="function_set_count" style="margin-block-end: 1em;">
*'''set_count''' - Sets the stack size.
*'''set_count''' - Sets the stack size.
** {{nbt|int}}{{nbt|compound|count}}: A [[Minecraft:Loot_table#Number provider|number provider]]. Specifies the stack size to set.
** {{nbt|int}}{{nbt|compound|count}}: A [[Minecraft:number provider]]. Specifies the stack size to set.
** {{nbt|boolean|add}}: Optional. If <code>true</code>, change is relative to current count. Defaults to false.
** {{nbt|boolean|add}}: Optional. If <code>true</code>, change is relative to current count. Defaults to false.
</div>
</div>
Line 227: Line 227:
* '''set_custom_model_data'''&mdash;Sets <code>minecraft:custom_model_data</code> component.
* '''set_custom_model_data'''&mdash;Sets <code>minecraft:custom_model_data</code> component.
** {{nbt|compound|floats}}: Optional. Specifies floats for the [[Minecraft:custom model data]].
** {{nbt|compound|floats}}: Optional. Specifies floats for the [[Minecraft:custom model data]].
*** {{nbt|list|values}}: A list of [[Minecraft:Loot_table#Number provider|number providers]].
*** {{nbt|list|values}}: A list of [[Minecraft:Number provider|number providers]].
*** {{nbt|string|mode}}: Determines how existing values should be modified. Allowed values are <code>"append"</code>, <code>"insert"</code>, <code>"replace_all"</code>, <code>"replace_section"</code>.
*** {{nbt|string|mode}}: Determines how existing values should be modified. Allowed values are <code>"append"</code>, <code>"insert"</code>, <code>"replace_all"</code>, <code>"replace_section"</code>.
*** {{nbt|int|offset}}: Used only if {{nbt|string|mode}} is set to <code>"insert"</code> or <code>"replace_section"</code>. Specifies index to insert or replace values from. Defaults to <code>0</code>
*** {{nbt|int|offset}}: Used only if {{nbt|string|mode}} is set to <code>"insert"</code> or <code>"replace_section"</code>. Specifies index to insert or replace values from. Defaults to <code>0</code>
Line 243: Line 243:
** {{nbt|compound|colors}}: Optional. Specifies colors for the custom model data.
** {{nbt|compound|colors}}: Optional. Specifies colors for the custom model data.
*** {{nbt|list|values}}: A list of RGB values.
*** {{nbt|list|values}}: A list of RGB values.
**** {{nbt|int}}{{nbt|compound}}: A number provider specifying an RGB value as a decimal.
**** {{nbt|int}}{{nbt|compound}}: A [[Minecraft:number provider]] specifying an RGB value as a decimal.
**** {{nbt|list}}: A list containing 3 individual red, green, and blue values that is automatically converted to a decimal. {{more info needed|The formula?}}
**** {{nbt|list}}: A list containing 3 individual red, green, and blue values that is automatically converted to a decimal. {{more info needed|The formula?}}
*** {{nbt|string|mode}}: Determines how existing values should be modified. Allowed values are <code>"append"</code>, <code>"insert"</code>, <code>"replace_all"</code>, <code>"replace_section"</code>.
*** {{nbt|string|mode}}: Determines how existing values should be modified. Allowed values are <code>"append"</code>, <code>"insert"</code>, <code>"replace_all"</code>, <code>"replace_section"</code>.
Line 252: Line 252:
<div id="function_set_damage" style="margin-block-end: 1em;">
<div id="function_set_damage" style="margin-block-end: 1em;">
*'''set_damage''' - Sets the item's damage value (durability).
*'''set_damage''' - Sets the item's damage value (durability).
**{{nbt|float}}{{nbt|compound|damage}}: A [[Minecraft:Loot_table#Number provider|number provider]]. Specifies the durability fraction to set (1.0 is undamaged, 0.0 is zero durability left).
**{{nbt|float}}{{nbt|compound|damage}}: A [[Minecraft:number provider]]. Specifies the durability fraction to set (1.0 is undamaged, 0.0 is zero durability left).
**{{nbt|boolean|add}}: Optional. If <code>true</code>, change is relative to current damage. Defaults to false.
**{{nbt|boolean|add}}: Optional. If <code>true</code>, change is relative to current damage. Defaults to false.
</div>
</div>
Line 259: Line 259:
* '''set_enchantments''' - Modifies the item's enchantments. A book converts to an [[Minecraft:enchanted book]].
* '''set_enchantments''' - Modifies the item's enchantments. A book converts to an [[Minecraft:enchanted book]].
** {{nbt|compound|enchantments}}: Enchantments to modify.
** {{nbt|compound|enchantments}}: Enchantments to modify.
*** {{nbt|int}}{{nbt|compound|An enchantment}}: Key name is the [[Minecraft:Java_Edition_data_value#Enchantments|enchantment ID]]. Value is a [[Minecraft:Loot_table#Number provider|number provider]] specifying the enchantment power. Powers are clamped at a maximum of 255. Decreasing an enchantment power below 1 remove the enchantment, through a relative negative add or through a direct value assignemnt.
*** {{nbt|int}}{{nbt|compound|An enchantment}}: Key name is the [[Minecraft:Java_Edition_data_value#Enchantments|enchantment ID]]. Value is a [[Minecraft:number provider]] specifying the enchantment power. Powers are clamped at a maximum of 255. Decreasing an enchantment power below 1 remove the enchantment, through a relative negative add or through a direct value assignemnt.
** {{nbt|boolean|add}}: Optional. If <code>true</code>, change is relative to current level. A nonexistent enchantment is presumed to start at 0. Defaults to false.
** {{nbt|boolean|add}}: Optional. If <code>true</code>, change is relative to current level. A nonexistent enchantment is presumed to start at 0. Defaults to false.
</div>
</div>
Line 323: Line 323:
<div id="function_set_ominous_bottle_amplifier" style="margin-block-end: 1em;">
<div id="function_set_ominous_bottle_amplifier" style="margin-block-end: 1em;">
* '''set_ominous_bottle_amplifier'''&#x2014;Sets the <code>ominous_bottle_amplifier</code> component of an item.
* '''set_ominous_bottle_amplifier'''&#x2014;Sets the <code>ominous_bottle_amplifier</code> component of an item.
** {{nbt|compound|amplifier}}: a [[Minecraft:Loot table#Number provider|number provider]] used to generate the <code>ominous_bottle_amplifier</code> component.
** {{nbt|compound|amplifier}}: a [[Minecraft:number provider]] used to generate the <code>ominous_bottle_amplifier</code> component.
</div>
</div>


Line 346: Line 346:
*** {{nbt|compound}} An effect.
*** {{nbt|compound}} An effect.
**** {{nbt|string|type}}: The effect ID.
**** {{nbt|string|type}}: The effect ID.
**** {{nbt|int}}{{nbt|compound|duration}}: A [[Minecraft:Loot_table#Number provider|number provider]]. The duration of the effect.
**** {{nbt|int}}{{nbt|compound|duration}}: A [[Minecraft:number provider]]. The duration of the effect.
</div>
</div>


Line 441: Line 441:
|{{HistoryLine|||dev=pre1|{{cd|minecraft:set_instrument}}: The {{cd|options}} field now also accepts an ID and a list of IDs in addition to a tag.}}
|{{HistoryLine|||dev=pre1|{{cd|minecraft:set_instrument}}: The {{cd|options}} field now also accepts an ID and a list of IDs in addition to a tag.}}
|{{HistoryLine|upcoming java}}
|{{HistoryLine|upcoming java}}
|{{HistoryLine||26.3|dev=snapshot1|Added {{cd|minecraft:command_slot_source}} loot table type.}}
|{{HistoryLine||26.3|dev=snap1|Added {{cd|minecraft:command_slot_source}} loot table type.}}
|{{HistoryLine|||dev=snap4|The {{cd|conditions}} field is now available in all loot functions and has been renamed to {{cd|condition}}.|Changed {{cd|minecraft:sequence}}, {{cd|minecraft:modify_contents}}, {{cd|minecraft:set_attributes}}, {{cd|minecraft:enchanted_count_increase}}, {{cd|minecraft:enchant_with_levels}}, {{cd|minecraft:set_custom_model_data}}, {{cd|minecraft:set_enchantments}}, {{cd|minecraft:set_count}}, {{cd|minecraft:limit_count}}, {{cd|minecraft:set_damage}}, {{cd|minecraft:set_ominous_bottle_amplifier}}, {{cd|minecraft:set_random_dyes}}, {{cd|minecraft:set_stew_effect}}, {{cd|minecraft:set_loot_table}}, {{cd|minecraft:exploration_map}}.|Removed {{cd|minecraft:reference}}.}}
}}
}}



Latest revision as of 11:08, 19 July 2026

Template:Exclusive Item modifiers (also known as loot modifiers) can be used to apply modifications to item stacks, such as adjusting the stack size or adding enchantments. They can be defined in Minecraft:datapacks as Minecraft:JSON files, or used in Minecraft:loot tables. The Template:Cmd command also accepts item modifiers in Minecraft:SNBT format.

A single modification in item modifiers is called item function or loot function.

Definition

An item modifier is a single loot function or an array of loot functions to apply to the item. The root element of an item modifier can be either an Template:Nbt, following the structure of a loot function below, or an Template:Nbt, containing multiple loot functions.

Item modifiers are defined using the Minecraft:JSON format in Minecraft:data packs, or the Minecraft:SNBT format in Template:Cmd command.

Item modifiers defined in data packs in the following directory structure, highlighted below: Template:Data pack directory

Usage

Commands

Item modifiers can be invoked with the Template:Cmd command. When doing so, it is required to specify a target slot to invoke the modifier upon, either an item inside a container block's contents, or inside an entity's inventory.

There are two variations of this command: Template:Cmd invokes a modifier alone upon the target slot, Template:Cmd replaces the item in the target slot with another and subsequently invokes a modifier upon it.

Loot tables

In Minecraft:loot tables, item modifiers can be defined without the need for a separate file; however, separate files can also be explicitly referenced using the reference function.

Format

The format of a single item modifier is:

Multiple modifiers may be bundled into one by placing them into a JSON array or an NBT list. In this case, all listed modifiers are applied in sequence, similar to the sequence modifier type.

Function types

The possible resource locations (namespace minecraft: is omitted) for Template:Nbt field and associated extra contents:

  • apply_bonus—Applies a predefined bonus formula to the count of the item stack.
    • Template:Nbt: ID of an enchantment on the tool provided by Minecraft:loot context used for level calculation.
    • Template:Nbt: A Minecraft:resource location. Can be binomial_with_bonus_count for 1 bonus item plus bonus determined by binomial distribution with n=level + extra, p=probability. Can be uniform_bonus_count for uniform distribution (from 0 to level * bonusMultiplier), or ore_drops for a special function used for ore drops in the vanilla game (Count *= (max(1; randomInt(0(inclusive) .. (Level + 2)(exclusive))))).
    • Template:Nbt: Values required for the formula.
      • Template:Nbt: For formula 'binomial_with_bonus_count', the extra value.
      • Template:Nbt: For formula 'binomial_with_bonus_count', the probability.
      • Template:Nbt: For formula 'uniform_bonus_count', the bonus multiplier.
  • discard—Removes the item stack.
  • exploration_map—If the origin is provided by Minecraft:loot context, converts an empty map into an Minecraft:explorer map leading to a nearby generated structure.
    • Template:Nbt: A Minecraft:tag of Minecraft:structure to locate. Defaults to on_treasure_maps.
    • Template:Nbt: The icon used to mark the destination on the map. Accepts any of the map icon text IDs (case insensitive). If mansion or monument is used, the color of the lines on the item texture changes to match the corresponding explorer map. Defaults to mansion.
    • Template:Nbt: The zoom level of the resulting map. Defaults to 2.
    • Template:Nbt: The size, in chunks, of the area to search for structures. The area checked is square, not circular. Radius 0 causes only the current chunk to be searched, radius 1 causes the current chunk and eight adjacent chunks to be searched, and so on. Defaults to 50.
    • Template:Nbt: Don't search in chunks that have already been generated. Defaults to true.
  • explosion_decay—Removes some items from a stack, if the explosion radius is provided by Minecraft:loot context. Each item in the item stack has a chance of 1/explosion radius to be lost.
  • furnace_smelt—Smelts the item as it would be in a furnace without changing its count.
  • modify_contents—Applies a function to every item inside an inventory component. If such a component does not exist, it is not added.
    • Template:Nbt: A target component. Allowed values are bundle_contents, charged_projectiles, container}}.
    • Template:NbtTemplate:Nbt: Function or list of functions to be applied to every item inside the container.

Template:Bug</ref>

    • Template:Nbt: Location of function to call.
      • Template:Nbt An item modifier. The same JSON structure as described on this page.
  • set_banner_pattern - Adds or replaces banner patterns of a banner. Function successfully adds patterns into NBT tag even if invoked on a non-banner.
    • Template:Nbt: List of patterns to add or replace with.
      • Template:Nbt: A pattern.
        • Template:Nbt: The pattern type. For example, square_bottom_left.
        • Template:Nbt: The color for this pattern. One of white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black.
    • Template:Nbt: Required. If true, the patterns are applied on top of the banner's existing patterns.
  • set_book_cover—Sets the cover details of the minecraft:written_book_content component. If present, any pages in the book are left untouched.
    • Template:Nbt: Optional. Sets the author of the book. If omitted, the original author is kept (or an empty string is used if there was no component).
    • Template:Nbt: Optional. Sets the generation value of the book (original, copy, etc.). Allowed values are 0 to 3. If omitted, the original generation is kept (or 0 is used if there was no component).
    • Template:NbtTemplate:NbtTemplate:Nbt: Optional. Sets the title of the book as a Minecraft:raw JSON text component. If omitted, the original title is kept (or an empty string is used if there was no component).
  • set_components—Sets components of an item.
    • Template:Nbt: A map of components ID to component value. Components with a ! prefix (e.g. "!minecraft:damage": {}) causes this component to be removed.
  • set_contents - Sets the contents of a container block item to a list of entries.
    • Template:Nbt: A list of loot table entry producer to provide item stacks.
    • Template:Nbt: The target component to be filled with items. Existing contents are replaced. Allowed values: container, bundle_contents, and charged_projectiles. Both bundle_contents and charged_projectiles ignore empty stacks.<ref>Template:Mcnet</ref>
  • set_custom_data—Sets the minecraft:custom_data component.
    • Template:NbtTemplate:Nbt: The data to merge onto the item's minecraft:custom_data component, either within a JSON string or as unflattened tags. That means that {"tag": "{a:1}"} and {"tag": {"a":1}} are equivalent. When using the string representation, additional care is required: the outer braces { } of the component must still be present and if the NBT contains quotation marks ", they must be escaped with a backslash \.
  • set_enchantments - Modifies the item's enchantments. A book converts to an Minecraft:enchanted book.
    • Template:Nbt: Enchantments to modify.
    • Template:Nbt: Optional. If true, change is relative to current level. A nonexistent enchantment is presumed to start at 0. Defaults to false.
  • set_fireworks—Sets minecraft:fireworks component.
    • Template:Nbt: Optional. Specifies firework explosions.
      • Template:Nbt: List of firework explosion data.
        • Template:Nbt: The shape of the explosion. Can be Template:Cd.
        • Template:Nbt: The colors of the initial particles of the explosion, randomly selected from.
        • Template:Nbt: The colors of the fading particles of the explosion, randomly selected from.
        • Template:Nbt: Whether or not the explosion has a trail effect (diamond).
        • Template:Nbt: Whether or not the explosion has a twinkle effect (glowstone dust).
      • Template:Nbt: Determines how existing fireworks component should be modified. Allowed values are "append", "insert", "replace_all", "replace_section".
      • Template:Nbt: Used only if Template:Nbt is set to "insert" or "replace_section". Specifies index to insert or replace explosions from. Defaults to 0
      • Template:Nbt: Used only if Template:Nbt is set to "replace_section". Specifies the size of the range to be replaced. If omitted, the size of Template:Nbt field is used.
    • Template:Nbt: Optional, allowed values are 0 to 255. Determines flight duration measured in number of gunpowder. If omitted, the flight duration of the item is left untouched (or set to 0 if the component did not exist before).
  • set_firework_explosion—Sets minecraft:firework_explosion component.
    • Template:Nbt: The shape of the explosion. Can be Template:Cd.
    • Template:Nbt: The colors of the initial particles of the explosion, randomly selected from.
    • Template:Nbt: The colors of the fading particles of the explosion, randomly selected from.
    • Template:Nbt: Whether or not the explosion has a trail effect (diamond).
    • Template:Nbt: Whether or not the explosion has a twinkle effect (glowstone dust).
  • set_instrument - Sets the item tags for instrument items to a random value from a tag.
  • set_item—Replaces item type without changing count or components.
  • set_loot_table - Sets the loot table for a container block when placed and opened.
    • Template:Nbt: Specifies the Minecraft:resource location of the loot table to be used.
    • Template:Nbt: Optional. Specifies the loot table seed. If absent or set to 0, the seed won't be put into the NBT, and a random seed is used when opening the container.
    • Template:Nbt: the block entity type to be written in BlockEntityTag.id.
  • set_ominous_bottle_amplifier—Sets the ominous_bottle_amplifier component of an item.
  • set_potion—Sets the potion_contents component of an item.
  • set_writable_book_pages—Manipulates the pages of the minecraft:writable_book_content component.
    • Template:Nbt: A list of pages as filterable strings.
      • Template:Nbt: A single page.
        Alternatively, a single page can be represented as follows:
      • Template:Nbt: The plain text content of a page.
    • Template:Nbt: Determines how existing pages should be modified. Allowed values are "append", "insert", "replace_all", "replace_section".
    • Template:Nbt: Used only if Template:Nbt is set to "insert" or "replace_section". Specifies index to insert or replace pages from. Defaults to 0
    • Template:Nbt: Used only if Template:Nbt is set to "replace_section". Specifies the size of the range to be replaced. If omitted, the size of Template:Nbt field is used.
  • toggle_tooltips—Toggles which tooltips are visible.
    • Template:Nbt: A map of supported item components to modify. All fields are optional.
      • Template:Nbt: Changes the visibility of the tooltip displaying the item's attribute modifiers.
      • Template:Nbt: Changes the visibility of the tooltip displaying the blocks the item can break in Minecraft:Adventure mode.
      • Template:Nbt: Changes the visibility of the tooltip displaying the blocks the item can placed on in Minecraft:Adventure mode.
      • Template:Nbt: Changes the visibility of the tooltip displaying dyed Minecraft:armor color.
      • Template:Nbt: Changes the visibility of the tooltip displaying the item's enchantments.
      • Template:Nbt: Changes the visibility of the tooltip displaying the item's stored enchantments (for Minecraft:enchanted books).
      • Template:Nbt: Changes the visibility of the tooltip displaying the item's armor trim.
      • Template:Nbt: Changes the visibility of the tooltip displaying the item's unbreakable status. Setting this to any value does not change whether the item is unbreakable.

History

Template:HistoryTable

Issues

Template:Issue list

References

Template:Reflist

External links

Navigation

Template:Navbox Java Edition technical

Minecraft:de:Gegenstandsmodifizierer Minecraft:fr:Modificateur d'objet Minecraft:ja:アイテム修飾子 Minecraft:pt:Modificador de itens Minecraft:zh:物品修饰器