Uses of Class
org.bukkit.inventory.InventoryView
Package | Description |
---|---|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.event.enchantment |
Events triggered from an enchantment table . |
org.bukkit.event.inventory |
-
Uses of InventoryView in org.bukkit.entity
Methods in org.bukkit.entity that return InventoryView Modifier and Type Method Description InventoryView
HumanEntity. getOpenInventory()
Gets the inventory view the player is currently viewing.InventoryView
HumanEntity. openEnchanting(Location location, boolean force)
Opens an empty enchanting inventory window with the player's inventory on the bottom.InventoryView
HumanEntity. openInventory(Inventory inventory)
Opens an inventory window with the specified inventory on the top and the player's inventory on the bottom.InventoryView
HumanEntity. openMerchant(Villager trader, boolean force)
Starts a trade between the player and the villager.InventoryView
HumanEntity. openMerchant(Merchant merchant, boolean force)
Starts a trade between the player and the merchant.InventoryView
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 InventoryView Modifier and Type Method Description void
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 InventoryView Constructor Description EnchantItemEvent(Player enchanter, InventoryView view, Block table, ItemStack item, int level, Map<Enchantment,Integer> enchants, 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 InventoryView Modifier and Type Field Description protected InventoryView
InventoryEvent. transaction
Methods in org.bukkit.event.inventory that return InventoryView Modifier and Type Method Description InventoryView
InventoryEvent. getView()
Gets the view object itself