Package org.bukkit.inventory
Interface RecipeChoice
-
- All Known Implementing Classes:
RecipeChoice.ExactChoice
,RecipeChoice.MaterialChoice
public interface RecipeChoice extends Predicate<ItemStack>, Cloneable
Represents a potential item match within a recipe. All choices within a recipe must be satisfied for it to be craftable. This class is not legal for implementation by plugins!
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
RecipeChoice.ExactChoice
Deprecated.draft APIstatic class
RecipeChoice.MaterialChoice
Represents a choice of multiple matching Materials.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description RecipeChoice
clone()
ItemStack
getItemStack()
Deprecated.for compatability onlyboolean
test(ItemStack itemStack)
-
-
-
Method Detail
-
getItemStack
@Deprecated @NotNull ItemStack getItemStack()
Deprecated.for compatability onlyGets a single item stack representative of this stack choice.- Returns:
- a single representative item
-
clone
@NotNull RecipeChoice clone()
-
-