stackableKItem

fun stackableKItem(material: Material, amount: Int = 1, init: KItem.() -> Unit): StackableKItem

Builds a new de.staticred.kia.inventory.item.StackableKItem.

Return

newly build kItem, actually a de.staticred.kia.inventory.item.RegisteredKItem

Author

Devin

Since

1.0.2

Parameters

material

of the item

amount

of the item

init

init function


fun stackableKItem(material: Material, amount: Int = 1): StackableKItem

Builds a new de.staticred.kia.inventory.item.StackableKItem.

Return

newly build kItem, actually a de.staticred.kia.inventory.item.RegisteredKItem

Author

Devin

Since

1.0.2

Parameters

material

of the item

amount

of the item