items:item_components:armor
Table of Contents
minecraft:armor
The minecraft:armor
item component allows its user to take less damage when worn.
This item component is usually combined with minecraft:equipment and minecraft:damageable.
Fields
Name | Description | Type | Default Value |
---|---|---|---|
material | The material that determines the appearance and armor properties. | An armor material | |
armor_type | The animal to target. When omitted, uses the default armor and texture location. | An optional armor type |
Example
{ "material": "minecraft:iron" }
Armor Type
The animal to target for the armor. It determines the location of the texture to use for rendering.
Values
Name | Applies to |
---|---|
equestrian | Horse-like entities |
canine | Wolves |
items/item_components/armor.txt · Last modified: 2024/04/29 20:05 by errorcraft