type

@Contract(value = "_ -> this", mutates = "this")
abstract fun type(type: ItemType): ItemStack.Builder

Sets the type of the ItemStack being built.

Return

this builder

Parameters

type

the type of the item