Uses of Class
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
.-
Uses of InventoryView in com.destroystokyo.paper.event.block
ModifierConstructorDescriptionAnvilDamagedEvent
(@NotNull InventoryView inventory, @Nullable BlockData blockData) -
Uses of InventoryView in com.destroystokyo.paper.event.inventory
ModifierConstructorDescriptionPrepareGrindstoneEvent
(@NotNull InventoryView inventory, @Nullable ItemStack result) Deprecated.PrepareResultEvent
(@NotNull InventoryView inventory, @Nullable ItemStack result) -
Uses of InventoryView in io.papermc.paper.event.player
ModifierConstructorDescriptionCartographyItemEvent
(@NotNull InventoryView view, InventoryType.SlotType type, int slot, @NotNull ClickType click, @NotNull InventoryAction action) CartographyItemEvent
(@NotNull InventoryView view, InventoryType.SlotType type, int slot, @NotNull ClickType click, @NotNull InventoryAction action, int key) -
Uses of InventoryView in org.bukkit.entity
Modifier and TypeMethodDescriptionHumanEntity.getOpenInventory()
Gets the inventory view the player is currently viewing.Opens an empty anvil inventory window with the player's inventory on the bottom.HumanEntity.openCartographyTable
(@Nullable Location location, boolean force) Opens an empty cartography table inventory window with the player's inventory on the bottom.HumanEntity.openEnchanting
(@Nullable Location location, boolean force) Opens an empty enchanting inventory window with the player's inventory on the bottom.HumanEntity.openGrindstone
(@Nullable Location location, boolean force) Opens an empty grindstone inventory window with the player's inventory on the bottom.HumanEntity.openInventory
(@NotNull Inventory inventory) Opens an inventory window with the specified inventory on the top and the player's inventory on the bottom.Opens an empty loom inventory window with the player's inventory on the bottom.HumanEntity.openMerchant
(@NotNull Villager trader, boolean force) Starts a trade between the player and the villager.HumanEntity.openMerchant
(@NotNull Merchant merchant, boolean force) Starts a trade between the player and the merchant.HumanEntity.openSmithingTable
(@Nullable Location location, boolean force) Opens an empty smithing table inventory window with the player's inventory on the bottom.HumanEntity.openStonecutter
(@Nullable Location location, boolean force) Opens an empty stonecutter inventory window with the player's inventory on the bottom.HumanEntity.openWorkbench
(@Nullable Location location, boolean force) Opens an empty workbench inventory window with the player's inventory on the bottom.Modifier and TypeMethodDescriptionvoid
HumanEntity.openInventory
(@NotNull InventoryView inventory) Opens an inventory window to the specified inventory view. -
Uses of InventoryView in org.bukkit.event.enchantment
ModifierConstructorDescriptionEnchantItemEvent
(@NotNull Player enchanter, @NotNull InventoryView view, @NotNull Block table, @NotNull ItemStack item, int level, @NotNull Map<Enchantment, Integer> enchants, @NotNull Enchantment enchantmentHint, int levelHint, int i) PrepareItemEnchantEvent
(@NotNull Player enchanter, @NotNull InventoryView view, @NotNull Block table, @NotNull ItemStack item, @Nullable EnchantmentOffer @NotNull [] offers, int bonus) -
Uses of InventoryView in org.bukkit.event.inventory
ModifierConstructorDescriptionCraftItemEvent
(@NotNull Recipe recipe, @NotNull InventoryView what, @NotNull InventoryType.SlotType type, int slot, @NotNull ClickType click, @NotNull InventoryAction action) CraftItemEvent
(@NotNull Recipe recipe, @NotNull InventoryView what, @NotNull InventoryType.SlotType type, int slot, @NotNull ClickType click, @NotNull InventoryAction action, int key) InventoryClickEvent
(@NotNull InventoryView view, @NotNull InventoryType.SlotType type, int slot, @NotNull ClickType click, @NotNull InventoryAction action) InventoryClickEvent
(@NotNull InventoryView view, @NotNull InventoryType.SlotType type, int slot, @NotNull ClickType click, @NotNull InventoryAction action, int key) InventoryCloseEvent
(@NotNull InventoryView transaction) InventoryCloseEvent
(@NotNull InventoryView transaction, @NotNull InventoryCloseEvent.Reason reason) InventoryCreativeEvent
(@NotNull InventoryView what, @NotNull InventoryType.SlotType type, int slot, @NotNull ItemStack newItem) InventoryDragEvent
(@NotNull InventoryView what, @Nullable ItemStack newCursor, @NotNull ItemStack oldCursor, boolean right, @NotNull Map<Integer, ItemStack> slots) InventoryEvent
(@NotNull InventoryView transaction) InventoryInteractEvent
(@NotNull InventoryView transaction) InventoryOpenEvent
(@NotNull InventoryView transaction) PrepareAnvilEvent
(@NotNull InventoryView inventory, @Nullable ItemStack result) PrepareGrindstoneEvent
(@NotNull InventoryView inventory, @Nullable ItemStack result) PrepareInventoryResultEvent
(@NotNull InventoryView inventory, @Nullable ItemStack result) Deprecated.PrepareItemCraftEvent
(@NotNull CraftingInventory what, @NotNull InventoryView view, boolean isRepair) PrepareSmithingEvent
(@NotNull InventoryView inventory, @Nullable ItemStack result) SmithItemEvent
(@NotNull InventoryView view, InventoryType.SlotType type, int slot, @NotNull ClickType click, @NotNull InventoryAction action) SmithItemEvent
(@NotNull InventoryView view, InventoryType.SlotType type, int slot, @NotNull ClickType click, @NotNull InventoryAction action, int key) TradeSelectEvent
(@NotNull InventoryView transaction, int newIndex)