Uses of Enum Class
org.bukkit.event.inventory.InventoryType
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes involved in manipulating player inventories and item interactions.
-
Uses of InventoryType in org.bukkit
Modifier and TypeMethodDescriptionBukkit.createInventory
(@Nullable InventoryHolder owner, @NotNull InventoryType type) Creates an empty inventory with the specified type.Bukkit.createInventory
(@Nullable InventoryHolder owner, @NotNull InventoryType type, @NotNull String title) Deprecated.Bukkit.createInventory
(@Nullable InventoryHolder owner, @NotNull InventoryType type, @NotNull Component title) Creates an empty inventory with the specified type and title.Server.createInventory
(@Nullable InventoryHolder owner, @NotNull InventoryType type) Creates an empty inventory with the specified type.Server.createInventory
(@Nullable InventoryHolder owner, @NotNull InventoryType type, @NotNull String title) Deprecated.Server.createInventory
(@Nullable InventoryHolder owner, @NotNull InventoryType type, @NotNull Component title) Creates an empty inventory with the specified type and title. -
Uses of InventoryType in org.bukkit.event.inventory
Modifier and TypeMethodDescriptionstatic InventoryType
Returns the enum constant of this class with the specified name.static InventoryType[]
InventoryType.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of InventoryType in org.bukkit.inventory
Modifier and TypeMethodDescriptionInventory.getType()
Returns what type of inventory this is.abstract @NotNull InventoryType
InventoryView.getType()
Determine the type of inventory involved in the transaction.InventoryView.Property.getType()
Bukkit.createInventory(InventoryHolder, InventoryType, net.kyori.adventure.text.Component)