Interface RecipeChoice

  • All Superinterfaces:
    Cloneable, java.util.function.Predicate<ItemStack>
    All Known Implementing Classes:
    RecipeChoice.MaterialChoice

    public interface RecipeChoice
    extends java.util.function.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!
    • Method Detail

      • getItemStack

        @Deprecated
        ItemStack getItemStack()
        Deprecated.
        for compatability only
        Gets a single item stack representative of this stack choice.
        Returns:
        a single representative item