unbreakable

@Contract(value = "_ -> this", mutates = "this")
abstract fun unbreakable(value: Boolean): B

Sets whether the item is unbreakable to the given value.

Return

this builder

Parameters

value

whether the item is unbreakable


@Contract(value = "-> this", mutates = "this")
open fun unbreakable(): B

Makes the item unbreakable.

Return

this builder