Class ItemStackRecipeChoice
java.lang.Object
com.destroystokyo.paper.inventory.ItemStackRecipeChoice
- All Implemented Interfaces:
Cloneable,Predicate<ItemStack>,RecipeChoice
Deprecated.
Draft API
Allows crafting Items that require full matching itemstacks to complete the recipe for custom items
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.inventory.RecipeChoice
RecipeChoice.ExactChoice, RecipeChoice.MaterialChoice -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionItemStackRecipeChoice(List<ItemStack> choices) Deprecated.ItemStackRecipeChoice(ItemStack choices) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionclone()Deprecated.Deprecated.Gets a single item stack representative of this stack choice.booleanDeprecated.
-
Field Details
-
choices
Deprecated.
-
-
Constructor Details
-
ItemStackRecipeChoice
Deprecated. -
ItemStackRecipeChoice
Deprecated.
-
-
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
-
clone
Deprecated.- Specified by:
clonein interfaceRecipeChoice- Overrides:
clonein classObject
-
test
Deprecated.- Specified by:
testin interfacePredicate<ItemStack>- Specified by:
testin interfaceRecipeChoice
-