Minecraft:Armor trim definition
From SAS Gaming Wiki
More actions
(Redirected from Minecraft:Trim pattern definition)
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:
- Template:Nbt The root object.<section begin="json format material" />
- Template:Nbt: The resource location of the color palette to be used, at
assets/<namespace>/textures/palettes/<path>.png. - Template:NbtTemplate:NbtTemplate:Nbt: Text component to use as the trim material's name. See Minecraft:Text component format.<section end="json format material" />
- Template:Nbt: The resource location of the color palette to be used, at
Trim pattern
Trim patterns have the following format:
- Template:Nbt The root object.<section begin="json format pattern" />
- Template:Nbt: A Minecraft:resource location used as a prefix in sprite names and Minecraft:translation keys.
- Template:Nbt: Masks the pattern based on the underlying armor texture.<ref>Template:Citation</ref> This means that on armor with transparent pixels (such as Minecraft:Chainmail Armor) the corresponding pixels will also be transparent(not rendered) on the pattern texture. Defaults to false.
- Template:NbtTemplate:NbtTemplate:Nbt: Text component to use as the trim pattern's name. See Minecraft:Text component format.<section end="json format pattern" />
History
Template:Navbox Java Edition technical
Minecraft:de:Verzierungsdefinition Minecraft:ja:カスタム防具装飾 Minecraft:pt:Definição de enfeite de armadura Minecraft:zh:盔甲纹饰定义格式