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

Minecraft:Data component format/stored enchantments: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: new page from Minecraft
 
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
Line 2: Line 2:
<onlyinclude>
<onlyinclude>
** {{nbt|compound|minecraft:stored_enchantments}}: Contains a map of inactive [[Minecraft:enchantment]]s and their levels. Adding this component to any item other than an [[Minecraft:enchanted book]] does nothing except add text to the item's tooltip. If this component is removed from an enchanted book, the item can no longer be combined with other enchanted books. If present on an item, the enchantments are listed in the item's tooltip. The order of the enchantments in the tooltip is defined by the <code>[[Minecraft:Enchantment_tag_(Java_Edition)#tooltip_order|#minecraft:tooltip_order]]</code> enchantment tag.
** {{nbt|compound|minecraft:stored_enchantments}}: Contains a map of inactive [[Minecraft:enchantment]]s and their levels. Adding this component to any item other than an [[Minecraft:enchanted book]] does nothing except add text to the item's tooltip. If this component is removed from an enchanted book, the item can no longer be combined with other enchanted books. If present on an item, the enchantments are listed in the item's tooltip. The order of the enchantments in the tooltip is defined by the <code>[[Minecraft:Enchantment_tag_(Java_Edition)#tooltip_order|#minecraft:tooltip_order]]</code> enchantment tag.
*** {{nbt|int|''<enchantment ID>''}}: A single key-value pair, where the key is the [[Minecraft:resource location]] of an enchantment, and the value is the level.
*** {{nbt|int|''<enchantment ID>''}}: A single key-value pair, where the key is the [[Minecraft:identifier]] of an enchantment, and the value is the level.
<!--
<!--
--></onlyinclude></div><noinclude>
--></onlyinclude></div><noinclude>

Latest revision as of 11:12, 19 October 2026

    • Template:Nbt: Contains a map of inactive Minecraft:enchantments and their levels. Adding this component to any item other than an Minecraft:enchanted book does nothing except add text to the item's tooltip. If this component is removed from an enchanted book, the item can no longer be combined with other enchanted books. If present on an item, the enchantments are listed in the item's tooltip. The order of the enchantments in the tooltip is defined by the #minecraft:tooltip_order enchantment tag.

Minecraft:fr:Format de composant de données/stored enchantments Minecraft:ja:アイテムフォーマット/stored enchantments Minecraft:pt:Formato de componente de dado/stored enchantments Minecraft:uk:Формат компонента даних/stored enchantments