Class BrewingRecipe

    • Field Detail

      • ingredient

        @Nonnull
        private final Ingredient ingredient
      • output

        @Nonnull
        private final ItemStack output
    • Method Detail

      • isInput

        public boolean isInput​(@Nonnull
                               ItemStack stack)
        Description copied from interface: IBrewingRecipe
        Returns true is the passed ItemStack is an input for this recipe. "Input" being the item that goes in one of the three bottom slots of the brewing stand (e.g: water bottle)
        Specified by:
        isInput in interface IBrewingRecipe
      • getIngredient

        public Ingredient getIngredient()
      • isIngredient

        public boolean isIngredient​(ItemStack ingredient)
        Description copied from interface: IBrewingRecipe
        Returns true if the passed ItemStack is an ingredient for this recipe. "Ingredient" being the item that goes in the top slot of the brewing stand (e.g: nether wart)
        Specified by:
        isIngredient in interface IBrewingRecipe