This page relates to Thermal Expansion, which has built-in support!

Fractionating Still / Refinery

Link to fractionating-still--refinery

The following script will add recipes that will:

  1. Output a Diamond by Refining 500 mB of Water, consuming 500 RF. 2) Output 100 mB of Lava by Refining 500 mB of Water, consuming 500 RF. 3) Output a Diamond, 100 mB of Lava and 100 mB of Resin by Refining 500 mB of Water, consuming 500 RF.
ZenScript
Copy
// <recipetype:thermal:refinery>.addRecipe(String name, MCWeightedItemStack itemOutput, IFluidStack[] fluidsOutput, IFluidStack inputFluid, int energy);
<recipetype:thermal:refinery>.addRecipe("refinery_test_with_item", <item:minecraft:diamond>, [<fluid:minecraft:empty>], <fluid:minecraft:water> *500, 500);
<recipetype:thermal:refinery>.addRecipe("refinery_test_with_fluid", <item:minecraft:air>, [<fluid:minecraft:lava> *100], <fluid:minecraft:water> *500, 500);
<recipetype:thermal:refinery>.addRecipe("refinery_test_with_item_and_fluid", <item:minecraft:diamond>, [<fluid:minecraft:lava> *100, <fluid:thermal:resin> *100], <fluid:minecraft:water> *500, 500);

The following script will remove recipes that will:

  1. Output Tar and Refined Fuel. 2) Output Syrup and Water.
ZenScript
Copy
// <recipetype:thermal:refinery>.removeRecipe(IItemStack[] itemOutputs, IFluidStack[] fluidOutputs);
<recipetype:thermal:refinery>.removeRecipe([<item:thermal:tar>], [<fluid:thermal:refined_fuel>]);
<recipetype:thermal:refinery>.removeRecipe([], [<fluid:thermal:syrup>, <fluid:minecraft:water>]);