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