Interface BrewerInventory

    • Method Detail

      • getIngredient

        @Nullable
        @Nullable ItemStack getIngredient()
        Get the current ingredient for brewing.
        Returns:
        The ingredient.
      • setIngredient

        void setIngredient​(@Nullable
                           @Nullable ItemStack ingredient)
        Set the current ingredient for brewing.
        Parameters:
        ingredient - The ingredient
      • getFuel

        @Nullable
        @Nullable ItemStack getFuel()
        Get the current fuel for brewing.
        Returns:
        The fuel
      • setFuel

        void setFuel​(@Nullable
                     @Nullable ItemStack fuel)
        Set the current fuel for brewing. Generally only Material.BLAZE_POWDER will be of use.
        Parameters:
        fuel - The fuel
      • getHolder

        @Nullable
        @Nullable BrewingStand getHolder()
        Description copied from interface: Inventory
        Gets the block or entity belonging to the open inventory
        Specified by:
        getHolder in interface Inventory
        Returns:
        The holder of the inventory; null if it has no holder.