This page relates to Thermal Expansion, which has built-in support!
Centrifugal Separator / Centrifuge
Link to centrifugal-separator--centrifuge
Methods
Link to methods
Add Recipe
Link to add-recipe
The following script will add recipes that will:
- Output a Diamond 100% of the time and an Emerald 100% of the time by Centrifuging Dirt, consuming 500 RF.
- Output 250 mB of Resin by Centrifuging a Diamond, consuming 500 RF.
- Output a Diamond 100% of the time, an Emerald 100% of the time and 250 mB of Lava by Centrifuging Dirt, consuming 500 RF.
ZenScript Copy// <recipetype:thermal:centrifuge>.addRecipe(String name, MCWeightedItemStack[] outputs, IFluidStack outputFluid, IIngredient ingredient, int energy);
<recipetype:thermal:centrifuge>.addRecipe("centrifuge_test_with_item", [<item:minecraft:diamond> % 100, <item:minecraft:emerald> %100], <fluid:minecraft:empty>, <item:minecraft:dirt>, 500);
<recipetype:thermal:centrifuge>.addRecipe("centrifuge_test_with_fluid", [], <fluid:thermal:resin> *250, <item:minecraft:diamond>, 500);
<recipetype:thermal:centrifuge>.addRecipe("centrifuge_test_with_item_and_fluid", [<item:minecraft:diamond> % 100, <item:minecraft:emerald> %100], <fluid:minecraft:lava> *250, <item:minecraft:dirt>, 500);
Remove Recipes
Link to remove-recipes
The following script will remove recipes that will:
- Output Orange Dye.
- Output Sand, Bitumen, Tar, and Crude Oil.
ZenScript Copy// <recipetype:thermal:centrifuge>.removeRecipe(IItemStack[] itemOutputs, IFluidStack[] fluidOutputs);
<recipetype:thermal:centrifuge>.removeRecipe(<item:minecraft:orange_dye>);
<recipetype:thermal:centrifuge>.removeRecipe([<item:minecraft:sand>, <item:thermal:bitumen>, <item:thermal:tar>], [<fluid:thermal:crude_oil>]);