Forestry Engine Tweaker Modification
This extension adds support for configuring electrical engines from Forestry mod through the popular CraftTweaker tool. With it, you gain complete control over the energy generation system in your technological Minecraft world.
Supported Engines
The modification is compatible with two types of engines:
- Biogas Engine
- Peat-Fired Engine
Biogas Engine Configuration
To work with the biogas engine, use the following package:
mods.forestry.engine.biogas
Adding Recipes
Create new fuel types using the recipe addition function:
mods.forestry.engine.biogas.addRecipe(requiredLiquid, energyPerMillibucket, burnDurationInTicks, dissipationMultiplier)
Function parameters:
- ILiquidStack - liquid type
- int - energy value
- int - operation time
- int - heat dissipation coefficient
Dissipation multiplier determines the cooling speed of the engine after operation. By default, most fuel types have a value of 1, while water has a coefficient of 3.
Recipe Management
For complete recipe list clearance use:
mods.forestry.engine.biogas.removeAll()
Peat-Fired Engine Configuration
To work with the peat-fired engine, call the appropriate package:
mods.forestry.engine.peat
Creating Recipes
Adding new solid fuel types is accomplished through:
mods.forestry.engine.peat.addRecipe(itemStack, energyPerTick, burnDurationInTicks)
Parameter types:
- IItemStack - game item
- int - generated energy
- int - operation time
Similar to the biogas engine, the cooling system uses a dissipation multiplier.
Recipe Clearance
Complete removal of all peat-fired engine recipes:
mods.forestry.engine.peat.removeAll()