pylon Leggings
fun pylonLeggings(stack: ItemStack, key: NamespacedKey, hasDurability: Boolean): ItemStackBuilder(source)
fun pylonLeggings(material: Material, key: NamespacedKey, hasDurability: Boolean): ItemStackBuilder(source)
Creates a new ItemStack for a PylonItem that can be worn in the leggings 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-leggings.yml
armor: 5.0 # double
armor-toughness: 0.5 # double
durability: 350 # integerContent copied to clipboard