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).
-
Nested Class Summary
Nested classes/interfaces inherited from interface RecipeChoice
RecipeChoice.ExactChoice, RecipeChoice.ItemTypeChoice, RecipeChoice.MaterialChoice, RecipeChoice.PredicateChoice -
Constructor Summary
ConstructorsConstructorDescriptionExactChoice(List<ItemStack> choices) Deprecated, for removal: This API element is subject to removal in a future version.ExactChoice(ItemStack stack) Deprecated, for removal: This API element is subject to removal in a future version.ExactChoice(ItemStack... stacks) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
-
Constructor Details
-
ExactChoice
Deprecated, for removal: This API element is subject to removal in a future version. -
ExactChoice
Deprecated, for removal: This API element is subject to removal in a future version. -
ExactChoice
Deprecated, for removal: This API element is subject to removal in a future version.UseRecipeChoice.exactChoice(List)instead
-
-
Method Details
-
getItemStack
Deprecated.Description copied from interface:RecipeChoiceGets a single item stack representative of this stack choice.- Specified by:
getItemStackin interfaceRecipeChoice- Returns:
- a single representative item
-
getChoices
-
clone
- Specified by:
clonein interfaceRecipeChoice- Overrides:
clonein classObject
-
test
-
hashCode
-
equals
-
toString
-
validate
- Specified by:
validatein interfaceRecipeChoice
-
RecipeChoice.exactChoice(List)instead