Minecraft:Equipment
From SAS Gaming Wiki
More actions
(Redirected from Minecraft:Equipment model)
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 dyed_color 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: 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