kItem

fun kItem(material: Material, amount: Int = 1, init: RegisteredKItem.() -> Unit): RegisteredKItem

Builds a new kItem, and registers it in the de.staticred.kia.inventory.item.ItemManager with the correct UUID

Return

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

Author

Devin

Since

1.0.0

Parameters

material

of the item

amount

of the item

init

init function


fun kItem(material: Material, amount: Int = 1): RegisteredKItem

Builds a new kItem, and registers it in the de.staticred.kia.inventory.item.ItemManager with the correct UUID

Return

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

Author

Devin

Since

1.0.0

Parameters

material

of the item

amount

of the item