KubeJS Extension for Industrial Foregoing
This mod is an addon for KubeJS that enables the creation of custom recipes for the Industrial Foregoing modification. Using the methods provided in the addon, you can customize various production processes of the mod.
Main Features
Dissolution Chamber
Allows you to configure recipes for breaking down items using fluids. You specify input items, required fluid, produced item, and processing time.
Fluid Extractor
Create custom recipes for extracting fluids from blocks. Configure the input block, resulting block, break chance, and produced fluid.
Stonework Generator
Customize the operation of the resource production factory. Set required and consumed volumes of water and lava for different generation types.
Crushing Station
Create recipes for grinding materials in the stonework factory. Specify the item to be processed and the grinding result.
Laser Drill Ore
Configure resource mining with the laser drill. Define the mined resource, required catalyst, working depths (minimum and maximum), and generation weight. Exclude specific biomes from the process.
Laser Drill Fluid
Create recipes for fluid extraction with the laser drill. Similar to ore recipes, but with the ability to specify entities required for the process.
Usage Examples
ServerEvents.recipes(event => {
// Dissolving TNT in water to get sand
event.recipes.industrialforegoing.dissolution_chamber(
["minecraft:tnt"], // input items
"minecraft:water", // input fluid
"minecraft:sand", // output item
100 // processing time
)
// Extracting lava from TNT
event.recipes.industrialforegoing.fluid_extractor(
"minecraft:tnt", // input block
"minecraft:sand", // output block
0.5, // break chance
"minecraft:lava" // output fluid
)
// Generating TNT in stonework factory
event.recipes.industrialforegoing.stonework_generate(
"minecraft:tnt",
100, // water needed
100, // lava needed
50, // water consumed
50 // lava consumed
)
})
This addon is perfect for fundamentally changing technological progression in Industrial Foregoing, allowing the creation of fully custom production chains.