Class RecipeChoice.ExactChoice

  • All Implemented Interfaces:
    Cloneable, java.util.function.Predicate<ItemStack>, RecipeChoice
    Enclosing interface:
    RecipeChoice

    @Deprecated
    public static class RecipeChoice.ExactChoice
    extends Object
    implements RecipeChoice
    Deprecated.
    draft API
    Represents a choice that will be valid only one of the stacks is exactly matched (aside from stack size).
    Not valid for shapeless recipes
    • Constructor Detail

      • ExactChoice

        public ExactChoice​(@NotNull
                           ItemStack stack)
        Deprecated.
      • ExactChoice

        public ExactChoice​(@NotNull
                           ItemStack... stacks)
        Deprecated.
      • ExactChoice

        public ExactChoice​(@NotNull
                           List<ItemStack> choices)
        Deprecated.