Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers
Modtweaker

Fermenter

ModTweaker allows you to add or remove forestry Fermenter Recipes

Calling

You can call the package using mods.forestry.Fermenter

Recipe Removal

script.zs
//mods.forestry.Fermenter.removeRecipe(IIngredient input);
mods.forestry.Fermenter.removeRecipe(<minecraft:reeds>);
mods.forestry.Fermenter.removeRecipe(<liquid:water>);

Recipe Addition

script.zs
//mods.forestry.Fermenter.addRecipe(ILiquidStack fluidOutput, IItemStack resource, ILiquidStack fluidInput, int fermentationValue, float fluidOutputModifier);
mods.forestry.Fermenter.addRecipe(<liquid:lava>, <minecraft:obsidian>, <liquid:water>, 1000, 0.5);

Amount of fluid output: fermentationValue * fluidOutputModifier

ParameterTypedescription
Parameter
fluidOutput
Type
ILiquidStack
description
The Recipe’s output
Parameter
resource
Type
IItemStack
description
The Recipe’s item input
Parameter
fluidInput
Type
ILiquidStack
description
The Recipe’s liquid input
Parameter
fermentationValue
Type
int
description
Amount of inputFluid on organic item requires
Parameter
fluidOutputModifier
Type
int
description
Output multiplier

Fuel Removal

script.zs
//mods.forestry.Fermenter.removeFuel(IIngredient fermenterItem);
mods.forestry.Fermenter.removeFuel(<forestry:fertilizer_compound>);

Fuel Addition

script.zs
//mods.forestry.Fermenter.addFuel(IItemStack item, int fermentPerCycle, int burnDuration);
mods.forestry.Fermenter.addFuel(<minecraft:leaves:1>, 100, 5);
ParameterTypeDescription
Parameter
item
Type
IItemStack
Description
Item to become a valid fuel for the fermenter
Parameter
fermentPerCycle
Type
int
Description
How much is fermented per work cycle, i.e. how much fluid of the input is consumed.
Parameter
burnDuration
Type
int
Description
Amount of work cycles a single item of this fuel lasts before expiring.