Package org.bukkit.inventory
Class RecipeChoice.ExactChoice
java.lang.Object
org.bukkit.inventory.RecipeChoice.ExactChoice
- All Implemented Interfaces:
- Cloneable,- Predicate<ItemStack>,- RecipeChoice
- Enclosing interface:
- RecipeChoice
Represents a choice that will be valid only if one of the stacks is
 exactly matched (aside from stack size).
 
Only valid for shaped recipes
Only valid for shaped recipes
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.bukkit.inventory.RecipeChoiceRecipeChoice.ExactChoice, RecipeChoice.MaterialChoice
- 
Constructor SummaryConstructorsConstructorDescriptionExactChoice(List<ItemStack> choices) ExactChoice(ItemStack stack) ExactChoice(ItemStack... stacks) 
- 
Method Summary
- 
Constructor Details- 
ExactChoice
- 
ExactChoice
- 
ExactChoice
 
- 
- 
Method Details- 
getItemStackDescription copied from interface:RecipeChoiceGets a single item stack representative of this stack choice.- Specified by:
- getItemStackin interface- RecipeChoice
- Returns:
- a single representative item
 
- 
getChoices
- 
clone- Specified by:
- clonein interface- RecipeChoice
- Overrides:
- clonein class- Object
 
- 
test- Specified by:
- testin interface- Predicate<ItemStack>
- Specified by:
- testin interface- RecipeChoice
 
- 
hashCodepublic int hashCode()
- 
equals
- 
toString
 
-