unbreakable

fun unbreakable(flag: Boolean = true): ItemBuilder

Makes the item unbreakable.

Return

The ItemBuilder instance for method chaining.

Parameters

flag

Whether to make the item unbreakable or not.