durability

fun durability(durability: Int): ToolItem

Sets the durability (damage) of the tool item.

Return

The ToolItem instance for method chaining.

Parameters

durability

The durability (damage value) of the tool item.