durability

fun durability(amount: Int): ArmorItem

Sets the durability of the armor item.

Return

The ArmorItem instance for method chaining.

Parameters

amount

The durability amount of the armor item.