Interface RecipeChoice

All Superinterfaces:
Cloneable, Predicate<ItemStack>
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 
    Represents a choice that will be valid only one of the stacks is exactly matched (aside from stack size).
    static class 
    Represents a choice of multiple matching Materials.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Deprecated.
    for compatibility only
    boolean
    test(ItemStack itemStack)
     

    Methods inherited from interface java.util.function.Predicate

    and, negate, or