ItemBuilder

constructor(material: Material, count: Int = 1, dsl: ItemBuilder.() -> Unit = {})(source)

Parameters

material

The material of the ItemStack.

count

The count (stack size) of the ItemStack. Default is 1.

dsl

The DSL (Domain Specific Language) block that can be used to customize the item. Default is an empty block.