Class ItemStackRecipeChoice
java.lang.Object
com.destroystokyo.paper.inventory.ItemStackRecipeChoice
- All Implemented Interfaces:
Cloneable,Predicate<ItemStack>,RecipeChoice
@Deprecated(forRemoval=true)
@ScheduledForRemoval(inVersion="1.21")
public class ItemStackRecipeChoice
extends Object
implements RecipeChoice
Deprecated, for removal: This API element is subject to removal in a future version.
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, for removal: This API element is subject to removal in a future version.ItemStackRecipeChoice(ItemStack choices) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionclone()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Gets a single item stack representative of this stack choice.booleanDeprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
choices
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
ItemStackRecipeChoice
Deprecated, for removal: This API element is subject to removal in a future version. -
ItemStackRecipeChoice
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getItemStack
Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.- Specified by:
clonein interfaceRecipeChoice- Overrides:
clonein classObject
-
test
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
testin interfacePredicate<ItemStack>- Specified by:
testin interfaceRecipeChoice
-