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 SummaryNested classes/interfaces inherited from interface org.bukkit.inventory.RecipeChoiceRecipeChoice.ExactChoice, RecipeChoice.MaterialChoice
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionItemStackRecipeChoice(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 SummaryModifier 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- 
choicesDeprecated, for removal: This API element is subject to removal in a future version.
 
- 
- 
Constructor Details- 
ItemStackRecipeChoiceDeprecated, for removal: This API element is subject to removal in a future version.
- 
ItemStackRecipeChoiceDeprecated, for removal: This API element is subject to removal in a future version.
 
- 
- 
Method Details- 
getItemStackDeprecated, 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 interface- RecipeChoice
- Returns:
- a single representative item
 
- 
cloneDeprecated, for removal: This API element is subject to removal in a future version.- Specified by:
- clonein interface- RecipeChoice
- Overrides:
- clonein class- Object
 
- 
testDeprecated, for removal: This API element is subject to removal in a future version.- Specified by:
- testin interface- Predicate<ItemStack>
- Specified by:
- testin interface- RecipeChoice
 
 
-