Minecraft:Equipment
From SAS Gaming Wiki
More actions
(Redirected from Minecraft:Equip)
Equipment refers to Minecraft:items that can be inserted into a specialized Minecraft:slot in a Minecraft:mob's Minecraft:inventory in order to change certain aspects of its behavior and appearance. Equipment objects typically do not flash red when the mob takes Minecraft:damage and remain visible if the mob has the Minecraft:Invisibility effect.
Specification
Custom equipment can be defined and referenced by the equippable item component.
Equipment definitions are stored in the assets/<namespace>/equipment directory of a resource pack.
- Template:Nbt: The root tag.
- Template:Nbt: Layer types for this equipment model. If a layer is omitted, the armor piece does not render when in the respective slot (with the exception of the head slot, where the regular item model is rendered instead).
- Template:Nbt: The layers for this layer type.
- Template:Nbt: A namespaced id pointing to a texture for this layer.
namespace:pathresolves toassets/<namespace>/textures/entity/equipment/<layer_type>/<path>.png. - Template:Nbt: (optional) Specifies how this layer behaves when the item is dyed. An item is considered as "dyed" when it has the Template:DCL data component.
- Template:Nbt: (optional) An rgb int in decimal representation. The color to tint this layer if the item is undyeable or not dyed. If this is not present and the item is not dyed, the layer is hidden.
- Template:Nbt: (optional, default: false) If set to true, the layer texture is overridden by a texture given by the player. This is currently used only for the
wingslayer type, where the player's cape texture is used instead if this is set to true.
- Template:Nbt: A namespaced id pointing to a texture for this layer.
- Template:Nbt: The layers for this layer type.
- Template:Nbt: Contains a list of override entries. That controls which trim material should be replaced for this equipment asset. The first matching entry will always be selected.
- Template:Nbt A trim override.
- Template:Nbt: The override matcher.
- Template:Nbt: (optional) Trim material ID, the material to match.
- Template:Nbt: (optional) Trim pattern ID, the pattern to match (this is not the palette ID).
- At least one of material or pattern must be specified. If both are specified, both must match for the entry to be used.
- Template:Nbt: (optional) Trim pattern asset ID, a replacement texture to use if this entry matches. If not specified, the default texture for the pattern will be used.
- Template:Nbt: (optional) Palette ID, a replacement palette to use if this entry matches. If not specified, no palette remapping will be applied to the texture.
- At least one of texture or palette must be defined.
- Template:Nbt: The override matcher.
- Template:Nbt A trim override.
- Template:Nbt: Layer types for this equipment model. If a layer is omitted, the armor piece does not render when in the respective slot (with the exception of the head slot, where the regular item model is rendered instead).
Equipment Layer Types
Equipment layer types are used for the following inventory slots:
History
Template:Navbox resource packs Template:Navbox Java Edition technical
Minecraft:de:Ausrüstungsplatz Minecraft:pt:Equipamento Minecraft:zh:装备资产