InventoryType

@CataloguedBy(catalogue = InventoryTypes::class)
interface InventoryType : Keyed

A type of inventory.

Functions

Link copied to clipboard
@NotNull
abstract fun key(): @NotNull Key

Properties

Link copied to clipboard
@get:JvmName(name = "defaultTitle")
abstract val defaultTitle: Component

The default title that will be displayed when inventories of this type are sent and no custom title has been defined.

Link copied to clipboard
@get:JvmName(name = "size")
abstract val size: Int

The size of the inventory.