Package org.bukkit.inventory.view
Interface MerchantView
- All Superinterfaces:
InventoryView
An instance of
InventoryView
which provides extra methods related to
merchant view data.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.inventory.InventoryView
InventoryView.Property
-
Field Summary
Fields inherited from interface org.bukkit.inventory.InventoryView
OUTSIDE
-
Method Summary
Modifier and TypeMethodDescriptionGets the merchant that this view is for.Get the upper inventory involved in this transaction.Methods inherited from interface org.bukkit.inventory.InventoryView
close, convertSlot, countSlots, getBottomInventory, getCursor, getInventory, getItem, getOriginalTitle, getPlayer, getSlotType, getTitle, getType, setCursor, setItem, setProperty, setTitle, title
-
Method Details
-
getTopInventory
Description copied from interface:InventoryView
Get the upper inventory involved in this transaction.- Specified by:
getTopInventory
in interfaceInventoryView
- Returns:
- the inventory
-
getMerchant
Gets the merchant that this view is for.- Returns:
- The merchant that this view uses
-