Interface IFermenterRecipe

All Superinterfaces:
IForestryRecipe, net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>

public interface IFermenterRecipe extends IForestryRecipe
  • Method Details

    • getInputItem

      net.minecraft.world.item.crafting.Ingredient getInputItem()
      Returns:
      ItemStack representing the input resource.
    • getInputFluid

      net.minecraftforge.fluids.FluidStack getInputFluid()
      Returns:
      FluidStack representing the input fluid resource.
    • getFermentationValue

      int getFermentationValue()
      Returns:
      Value of the given resource, i.e. how much needs to be fermented for the output to be deposited into the product tank.
    • getModifier

      float getModifier()
      Returns:
      Modifies the amount of liquid output per work cycle. (water = 1.0f, honey = 1.5f)
    • getOutput

      net.minecraft.world.level.material.Fluid getOutput()
      Returns:
      Fluid representing output. Amount is determined by fermentationValue * modifier.
    • matches

      boolean matches(net.minecraft.world.item.ItemStack inputItem, net.minecraftforge.fluids.FluidStack inputFluid)