This page relates to Thermal Expansion, which has built-in support!
Fractionating Still / Refinery
Link to fractionating-still--refinery
Methods
Link to methods
Add Recipe
Link to add-recipe
The following script will add recipes that will:
- Output a Diamond by Refining 500 mB of Water, consuming 500 RF.
- Output 100 mB of Lava by Refining 500 mB of Water, consuming 500 RF.
- 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);
Remove Recipes
Link to remove-recipes
The following script will remove recipes that will:
- Output Tar and Refined Fuel.
- 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>]);