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
Modifier and Type Method Description RecipeChoice
clone()
ItemStack
getItemStack()
Deprecated.for compatability onlyboolean
test(ItemStack itemStack)