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
-
Constructor Summary
ConstructorDescriptionItemStackRecipeChoice
(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.boolean
Deprecated.
-
Field Details
-
choices
Deprecated.
-
-
Constructor Details
-
ItemStackRecipeChoice
Deprecated. -
ItemStackRecipeChoice
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
-
clone
Deprecated.- Specified by:
clone
in interfaceRecipeChoice
- Overrides:
clone
in classObject
-
test
Deprecated.- Specified by:
test
in interfacePredicate<ItemStack>
- Specified by:
test
in interfaceRecipeChoice
-