rebar Chestplate
fun rebarChestplate(stack: ItemStack, key: NamespacedKey, hasDurability: Boolean): ItemStackBuilder(source)
fun rebarChestplate(material: Material, key: NamespacedKey, hasDurability: Boolean): ItemStackBuilder(source)
Creates a new ItemStack for a RebarItem that can be worn in the chestplate slot. You must provide a value for armor and armor-toughness in the Settings for the item.
If hasDurability is true, gives the item a max durability defined by durability in the Settings. Otherwise, removes any existing durability.
settings/example-chestplate.yml
armor: 6.0 # double
armor-toughness: 1.0 # double
durability: 400 # integerContent copied to clipboard