Package org.bukkit.inventory
Interface MerchantInventory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MerchantRecipe
getSelectedRecipe()
Get the currently selected recipe.int
getSelectedRecipeIndex()
Get the index of the currently selected recipe.-
Methods inherited from interface org.bukkit.inventory.Inventory
addItem, all, all, clear, clear, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getHolder, getItem, getLocation, getMaxStackSize, getName, getSize, getStorageContents, getTitle, getType, getViewers, iterator, iterator, remove, remove, removeItem, setContents, setItem, setMaxStackSize, setStorageContents
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getSelectedRecipeIndex
int getSelectedRecipeIndex()
Get the index of the currently selected recipe.- Returns:
- the index of the currently selected recipe
-
getSelectedRecipe
MerchantRecipe getSelectedRecipe()
Get the currently selected recipe.- Returns:
- the currently selected recipe
-
-