Package org.bukkit.inventory.view
Interface LoomView
- All Superinterfaces:
InventoryView
An instance of
InventoryView
which provides extra methods related to
loom 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 a list of all selectable to the player.int
Gets an index of the selected pattern.Methods inherited from interface org.bukkit.inventory.InventoryView
close, convertSlot, countSlots, getBottomInventory, getCursor, getInventory, getItem, getOriginalTitle, getPlayer, getSlotType, getTitle, getTopInventory, getType, setCursor, setItem, setProperty, setTitle
-
Method Details
-
getSelectablePatterns
Gets a list of all selectable to the player.- Returns:
- A copy of the
PatternType
's currently selectable by the player
-
getSelectedPatternIndex
int getSelectedPatternIndex()Gets an index of the selected pattern.- Returns:
- Index of the selected pattern
-