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

Moistener

ModTweaker allows you to add or remove forestry Moistener Recipes

Calling

You can call the package using mods.forestry.Moistener

Recipe Removal

script.zs
//mods.forestry.Moistener.removeRecipe(IIngredient output);
mods.forestry.Moistener.removeRecipe(<minecraft:stonebrick:1>);

Recipe Addition

script.zs
//mods.forestry.Moistener.addRecipe(IItemStack output, IItemStack input, int packagingTime);
mods.forestry.Moistener.addRecipe(<minecraft:mycelium>, <minecraft:grass>, 60);

Fuel Removal

script.zs
//mods.forestry.Moistener.removeFuel(IIngredient moistenerItem);
mods.forestry.Moistener.removeFuel(<minecraft:wheat>);

Fuel Addition

script.zs
//mods.forestry.Moistener.addFuel(IItemStack item, IItemStack product, int moistenerValue, int stage);
mods.forestry.Moistener.addFuel(<minecraft:gold_ingot>, <minecraft:iron_ingot>, 20, 2);
ParameterTypeDescription
Parameter
item
Type
IItemStack
Description
Item to become a valid fuel for the Moistener
Parameter
product
Type
IItemStack
Description
Item that will leave the moistener’s working slot (e.g. mouldy wheat or mulch).
Parameter
MoistenerValue
Type
int
Description
How much this item contributes to the final product of the moistener.
Parameter
stage
Type
int
Description
What stage this product represents. Resources with lower stage value will be consumed first.