KInventoryHolder

class KInventoryHolder(val uuid: UUID, val holder: Player) : InventoryHolder

Extends the default bukkit inventory holder, to support a mapped UUID and an associated Inventory. The mapping between the KInventory and Inventory is done using the InventoryManager

Author

Devin

Since

1.0.0

See also

Constructors

Link copied to clipboard
constructor(uuid: UUID, holder: Player)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val holder: Player

player which holds the inventory

Link copied to clipboard
val uuid: UUID

uuid of the inventory the player is holding InventoryManager

Functions

Link copied to clipboard
open override fun getInventory(): Inventory
Link copied to clipboard
fun setInventory(inventory: Inventory)