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
@Deprecated public static class RecipeChoice.ExactChoice extends Object implements RecipeChoice
Deprecated.
draft API
Represents a choice that will be valid only one of the stacks is exactly
matched (aside from stack size).
Only valid for shaped recipes
Only valid for shaped recipes
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.inventory.RecipeChoice
RecipeChoice.ExactChoice, RecipeChoice.MaterialChoice
-
Constructor Summary
Constructors Constructor Description ExactChoice(List<ItemStack> choices)
Deprecated.ExactChoice(ItemStack stack)
Deprecated.ExactChoice(ItemStack... stacks)
Deprecated. -
Method Summary
Modifier and Type Method Description RecipeChoice.ExactChoice
clone()
Deprecated.boolean
equals(Object obj)
Deprecated.List<ItemStack>
getChoices()
Deprecated.ItemStack
getItemStack()
Deprecated.Gets a single item stack representative of this stack choice.int
hashCode()
Deprecated.boolean
test(ItemStack t)
Deprecated.String
toString()
Deprecated.
-
Constructor Details
-
ExactChoice
Deprecated. -
ExactChoice
Deprecated. -
ExactChoice
Deprecated.
-
-
Method Details
-
getItemStack
Deprecated.Description copied from interface:RecipeChoice
Gets a single item stack representative of this stack choice.- Specified by:
getItemStack
in interfaceRecipeChoice
- Returns:
- a single representative item
-
getChoices
Deprecated. -
clone
Deprecated.- Specified by:
clone
in interfaceRecipeChoice
- Overrides:
clone
in classObject
-
test
Deprecated.- Specified by:
test
in interfacePredicate<ItemStack>
- Specified by:
test
in interfaceRecipeChoice
-
hashCode
public int hashCode()Deprecated. -
equals
Deprecated. -
toString
Deprecated.
-