Uses of Interface
org.bukkit.inventory.InventoryView
Package
Description
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.Events
triggered from an enchantment table
.Classes involved in manipulating player inventories and item interactions.
Package for
InventoryView
child interfaces that
house further usability for InventoryView
.-
Uses of InventoryView in org.bukkit.entity
Modifier and TypeMethodDescriptionHumanEntity.getOpenInventory()
Gets the inventory view the player is currently viewing.HumanEntity.openEnchanting
(Location location, boolean force) Opens an empty enchanting inventory window with the player's inventory on the bottom.HumanEntity.openInventory
(Inventory inventory) Opens an inventory window with the specified inventory on the top and the player's inventory on the bottom.HumanEntity.openMerchant
(Villager trader, boolean force) Starts a trade between the player and the villager.HumanEntity.openMerchant
(Merchant merchant, boolean force) Starts a trade between the player and the merchant.HumanEntity.openWorkbench
(Location location, boolean force) Opens an empty workbench inventory window with the player's inventory on the bottom.Modifier and TypeMethodDescriptionvoid
HumanEntity.openInventory
(InventoryView inventory) Opens an inventory window to the specified inventory view. -
Uses of InventoryView in org.bukkit.event.enchantment
ModifierConstructorDescriptionEnchantItemEvent
(Player enchanter, InventoryView view, Block table, ItemStack item, int level, Map<Enchantment, Integer> enchants, Enchantment enchantmentHint, int levelHint, int i) -
Uses of InventoryView in org.bukkit.event.inventory
ModifierConstructorDescriptionCraftItemEvent
(Recipe recipe, InventoryView what, InventoryType.SlotType type, int slot, ClickType click, InventoryAction action) CraftItemEvent
(Recipe recipe, InventoryView what, InventoryType.SlotType type, int slot, ClickType click, InventoryAction action, int key) InventoryClickEvent
(InventoryView view, InventoryType.SlotType type, int slot, ClickType click, InventoryAction action) InventoryClickEvent
(InventoryView view, InventoryType.SlotType type, int slot, ClickType click, InventoryAction action, int key) InventoryCloseEvent
(InventoryView transaction) InventoryCreativeEvent
(InventoryView what, InventoryType.SlotType type, int slot, ItemStack newItem) InventoryDragEvent
(InventoryView what, ItemStack newCursor, ItemStack oldCursor, boolean right, Map<Integer, ItemStack> slots) InventoryEvent
(InventoryView transaction) InventoryInteractEvent
(InventoryView transaction) InventoryOpenEvent
(InventoryView transaction) PrepareGrindstoneEvent
(InventoryView inventory, ItemStack result) PrepareInventoryResultEvent
(InventoryView inventory, ItemStack result) PrepareItemCraftEvent
(CraftingInventory what, InventoryView view, boolean isRepair) PrepareSmithingEvent
(InventoryView inventory, ItemStack result) SmithItemEvent
(InventoryView view, InventoryType.SlotType type, int slot, ClickType click, InventoryAction action) SmithItemEvent
(InventoryView view, InventoryType.SlotType type, int slot, ClickType click, InventoryAction action, int key) -
Uses of InventoryView in org.bukkit.inventory
Modifier and TypeInterfaceDescriptionstatic interface
MenuType.Typed<V extends InventoryView>
Typed represents a subtype ofMenuType
s that have a knownInventoryView
type at compile time.Modifier and TypeFieldDescriptionstatic final MenuType.Typed
<InventoryView> MenuType.CARTOGRAPHY_TABLE
A MenuType which represents a cartography table.static final MenuType.Typed
<InventoryView> MenuType.CRAFTING
A MenuType which represents a crafting table.static final MenuType.Typed
<InventoryView> MenuType.GENERIC_3X3
A MenuType which represents a dispenser/dropper like menu with 3 columns and 3 rows.static final MenuType.Typed
<InventoryView> MenuType.GENERIC_9X1
A MenuType which represents a chest with 1 row.static final MenuType.Typed
<InventoryView> MenuType.GENERIC_9X2
A MenuType which represents a chest with 2 rows.static final MenuType.Typed
<InventoryView> MenuType.GENERIC_9X3
A MenuType which represents a chest with 3 rows.static final MenuType.Typed
<InventoryView> MenuType.GENERIC_9X4
A MenuType which represents a chest with 4 rows.static final MenuType.Typed
<InventoryView> MenuType.GENERIC_9X5
A MenuType which represents a chest with 5 rows.static final MenuType.Typed
<InventoryView> MenuType.GENERIC_9X6
A MenuType which represents a chest with 6 rows.static final MenuType.Typed
<InventoryView> MenuType.GRINDSTONE
A MenuType which represents a grindstone.static final MenuType.Typed
<InventoryView> MenuType.HOPPER
A MenuType which represents a hopper.static final MenuType.Typed
<InventoryView> MenuType.SHULKER_BOX
A MenuType which represents a shulker box.static final MenuType.Typed
<InventoryView> MenuType.SMITHING
A MenuType which represents a stonecutter.Modifier and TypeMethodDescription<V extends InventoryView>
MenuType.Typed<V> Yields this MenuType as a typed version of itself with a specificInventoryView
representing it.Modifier and TypeMethodDescriptionClass
<? extends InventoryView> MenuType.getInventoryViewClass()
Gets theInventoryView
class of this MenuType.MenuType.typed()
Yields this MenuType as a typed version of itself with a plainInventoryView
representing it. -
Uses of InventoryView in org.bukkit.inventory.view
Modifier and TypeInterfaceDescriptioninterface
An instance ofInventoryView
which provides extra methods related to anvil view data.interface
An instance ofInventoryView
which provides extra methods related to beacon view data.interface
An instance ofInventoryView
which provides extra methods related to brewing stand view data.interface
An instance ofInventoryView
which provides extra methods related to crafter view data.interface
An instance ofInventoryView
which provides extra methods related to enchantment table view data.interface
An instance ofInventoryView
which provides extra methods related to furnace view data.interface
An instance ofInventoryView
which provides extra methods related to lectern view data.interface
An instance ofInventoryView
which provides extra methods related to loom view data.interface
An instance ofInventoryView
which provides extra methods related to merchant view data.interface
An instance ofInventoryView
which provides extra methods related to stonecutter view data.