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

Minecraft:Armor trim definition: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: new page from Minecraft
 
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
Line 26: Line 26:


<div class="treeview">
<div class="treeview">
* {{nbt|compound}} The root object.
* {{nbt|compound}} The root object.<section begin="json format material" />
** {{nbt|string|asset_name}}: Suffix to be used in sprite names and [[Minecraft:translation key]]s.
** {{nbt|string|asset_name}}: Suffix to be used in sprite names and [[Minecraft:translation key]]s.
** {{nbt|compound|override_armor_assets}}: Asset name overrides for specific armor materials. Used in vanilla to select darker variants when the trim and armor have the same material.
** {{nbt|compound|override_armor_assets}}: Asset name overrides for specific armor materials. Used in vanilla to select darker variants when the trim and armor have the same material.
*** {{nbt|string|{{ph|equipment asset id}}}}: Suffix to be used in sprite names and [[Minecraft:translation key]]s for armor items with the corresponding <code>asset_id</code> specified in the {{cd|[[Minecraft:Data component format#equippable|equippable]]}} data component.
*** {{nbt|string|{{ph|equipment asset id}}}}: Suffix to be used in sprite names and [[Minecraft:translation key]]s for armor items with the corresponding <code>asset_id</code> specified in the {{cd|[[Minecraft:Data component format#equippable|equippable]]}} data component.
** {{nbt|string}}{{nbt|list}}{{nbt|compound|description}}: Text component to use as the trim material's name. See [[Minecraft:Text component format]].
** {{nbt|string}}{{nbt|list}}{{nbt|compound|description}}: Text component to use as the trim material's name. See [[Minecraft:Text component format]].<section end="json format material" />
</div>
</div>


Line 38: Line 38:


<div class="treeview">
<div class="treeview">
* {{nbt|compound}} The root object.
* {{nbt|compound}} The root object.<section begin="json format pattern" />
** {{nbt|string|asset_id}}: A [[Minecraft:resource location]] used as a prefix in sprite names and [[Minecraft:translation key]]s.
** {{nbt|string|asset_id}}: A [[Minecraft:resource location]] used as a prefix in sprite names and [[Minecraft:translation key]]s.
** {{nbt|boolean|decal}}: False for all vanilla trim patterns.
** {{nbt|boolean|decal}}: False for all vanilla trim patterns.
** {{nbt|string}}{{nbt|list}}{{nbt|compound|description}}: Text component to use as the trim pattern's name. See [[Minecraft:Text component format]].
** {{nbt|string}}{{nbt|list}}{{nbt|compound|description}}: Text component to use as the trim pattern's name. See [[Minecraft:Text component format]].<section end="json format pattern" />
</div>
</div>



Latest revision as of 11:00, 23 July 2026

Template:Exclusive

Trim materials and trim patterns define the tooltip and appearance of trimmed armor items.

Definition

Trim materials and patterns can be defined in Minecraft:data packs, as part of the directory structure below, or inline in the Template:Cd and Template:Cd data components.

JSON format

Trim material

Trim materials have the following format:

Trim pattern

Trim patterns have the following format:

Navigation

Template:Navbox Java Edition technical

Minecraft:de:Verzierungsdefinition Minecraft:ja:カスタム防具装飾 Minecraft:pt:Definição de enfeite de armadura Minecraft:zh:盔甲纹饰定义格式