kInventory

fun kInventory(holder: Player, size: Int, type: InventoryType, init: KInventory.() -> Unit): KInventory

Builds a new simple KInventory

Return

newly build kInventory

Author

Devin

Since

1.0.0

Parameters

holder

holder of the inventory

size

of the inventory

type

the inventorytype

init

the init function

See also

InventoryType