Armor Item
Represents a custom armor item with customizable attributes and properties.
This class allows the creation of armor items with specific attributes such as armor points, toughness, knockback resistance, and durability. It also supports setting item properties like unbreakability, glow effects, and lore.
The created armor item can be used as a CustomItem which can be registered and given to players.
Parameters
name
The name of the armor item.
material
The Material of the armor item (e.g., DIAMOND_HELMET, IRON_CHESTPLATE).
Functions
Link copied to clipboard
Builds and returns the CustomItem representation of the armor item.
Link copied to clipboard
Sets the durability of the armor item.
Link copied to clipboard
Sets the knockback resistance of the armor item.
Link copied to clipboard
Sets whether the armor item is unbreakable.