Package org.bukkit.inventory.view
Interface StonecutterView
- All Superinterfaces:
- InventoryView
An instance of 
InventoryView which provides extra methods related to
 stonecutter view data.- 
Nested Class SummaryNested classes/interfaces inherited from interface org.bukkit.inventory.InventoryViewInventoryView.Property
- 
Field SummaryFields inherited from interface org.bukkit.inventory.InventoryViewOUTSIDE
- 
Method SummaryModifier and TypeMethodDescriptionintGets the amount of recipes currently available.Gets a copy of all recipes currently available to the player.intGets the current index of the selected recipe.Get the upper inventory involved in this transaction.Methods inherited from interface org.bukkit.inventory.InventoryViewclose, convertSlot, countSlots, getBottomInventory, getCursor, getInventory, getItem, getOriginalTitle, getPlayer, getSlotType, getTitle, getType, setCursor, setItem, setProperty, setTitle
- 
Method Details- 
getTopInventoryDescription copied from interface:InventoryViewGet the upper inventory involved in this transaction.- Specified by:
- getTopInventoryin interface- InventoryView
- Returns:
- the inventory
 
- 
getSelectedRecipeIndexint getSelectedRecipeIndex()Gets the current index of the selected recipe.- Returns:
- The index of the selected recipe in the stonecutter or -1 if null
 
- 
getRecipesGets a copy of all recipes currently available to the player.- Returns:
- A copy of the StonecuttingRecipe's currently available for the player
 
- 
getRecipeAmountint getRecipeAmount()Gets the amount of recipes currently available.- Returns:
- The amount of recipes currently available for the player
 
 
-