Uses of Class
org.bukkit.inventory.InventoryView
Packages that use 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
.-
Uses of InventoryView in org.bukkit.entity
Methods in org.bukkit.entity that return InventoryViewModifier 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.Methods in org.bukkit.entity with parameters of type InventoryViewModifier and TypeMethodDescriptionvoid
HumanEntity.openInventory
(InventoryView inventory) Opens an inventory window to the specified inventory view. -
Uses of InventoryView in org.bukkit.event.enchantment
Constructors in org.bukkit.event.enchantment with parameters of type InventoryViewModifierConstructorDescriptionEnchantItemEvent
(Player enchanter, InventoryView view, Block table, ItemStack item, int level, Map<Enchantment, Integer> enchants, Enchantment enchantmentHint, int levelHint, int i) PrepareItemEnchantEvent
(Player enchanter, InventoryView view, Block table, ItemStack item, EnchantmentOffer[] offers, int bonus) -
Uses of InventoryView in org.bukkit.event.inventory
Fields in org.bukkit.event.inventory declared as InventoryViewMethods in org.bukkit.event.inventory that return InventoryViewConstructors in org.bukkit.event.inventory with parameters of type InventoryViewModifierConstructorDescriptionCraftItemEvent
(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) PrepareAnvilEvent
(InventoryView inventory, ItemStack result) 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) TradeSelectEvent
(InventoryView transaction, int newIndex)