public interface IFermenterManager extends ICraftingProvider<IFermenterRecipe>
The manager is initialized at the beginning of Forestry's BaseMod.load() cycle. Begin adding recipes in BaseMod.ModsLoaded() and this shouldn't be null even if your mod loads before Forestry.
Accessible via RecipeManagers
| Modifier and Type | Method and Description |
|---|---|
void |
addRecipe(net.minecraft.item.ItemStack resource,
int fermentationValue,
float modifier,
net.minecraftforge.fluids.FluidStack output)
Add a recipe to the fermenter.
|
void |
addRecipe(net.minecraft.item.ItemStack resource,
int fermentationValue,
float modifier,
net.minecraftforge.fluids.FluidStack output,
net.minecraftforge.fluids.FluidStack liquid)
Add a recipe to the fermenter
|
void |
addRecipe(java.lang.String resource,
int fermentationValue,
float modifier,
net.minecraftforge.fluids.FluidStack output)
Add a recipe to the fermenter.
|
void |
addRecipe(java.lang.String resource,
int fermentationValue,
float modifier,
net.minecraftforge.fluids.FluidStack output,
net.minecraftforge.fluids.FluidStack liquid)
Add a recipe to the fermenter
|
addRecipe, recipes, removeRecipevoid addRecipe(net.minecraft.item.ItemStack resource,
int fermentationValue,
float modifier,
net.minecraftforge.fluids.FluidStack output,
net.minecraftforge.fluids.FluidStack liquid)
resource - ItemStack representing the resource.fermentationValue - Value of the given resource, i.e. how much needs
to be fermented for the output to be deposited into the product tank.modifier - Modifies the amount of liquid output per work cycle.
(water = 1.0f, honey = 1.5f)output - LiquidStack representing output liquid. Amount is
determined by fermentationValue*modifier.liquid - LiquidStack representing resource liquid and amount.java.lang.NullPointerException - if resource, output or liquid is nullvoid addRecipe(net.minecraft.item.ItemStack resource,
int fermentationValue,
float modifier,
net.minecraftforge.fluids.FluidStack output)
resource - ItemStack representing the resource.modifier - Modifies the amount of liquid output per work cycle.
(water = 1.0f, honey = 1.5f)fermentationValue - Value of the given resource, i.e. how much needs
to be fermented for the output to be deposited into the product tank.output - LiquidStack representing output liquid. Amount is
determined by fermentationValue*modifier.java.lang.NullPointerException - if resource, output or liquid is nullvoid addRecipe(java.lang.String resource,
int fermentationValue,
float modifier,
net.minecraftforge.fluids.FluidStack output,
net.minecraftforge.fluids.FluidStack liquid)
resource - String representing the resource as a OreDictionary name.fermentationValue - Value of the given resource, i.e. how much needs
to be fermented for the output to be deposited into the product tank.modifier - Modifies the amount of liquid output per work cycle.
(water = 1.0f, honey = 1.5f)output - LiquidStack representing output liquid. Amount is
determined by fermentationValue*modifier.liquid - LiquidStack representing resource liquid and amount.java.lang.NullPointerException - if resource, output or liquid is nullvoid addRecipe(java.lang.String resource,
int fermentationValue,
float modifier,
net.minecraftforge.fluids.FluidStack output)
resource - String representing the resource as a OreDictionary name.modifier - Modifies the amount of liquid output per work cycle.
(water = 1.0f, honey = 1.5f)fermentationValue - Value of the given resource, i.e. how much needs
to be fermented for the output to be deposited into the product tank.output - LiquidStack representing output liquid. Amount is
determined by fermentationValue*modifier.java.lang.NullPointerException - if resource, output or liquid is null