This page relates to Thermal Expansion, which has built-in support!
Fluid Encapsulator / Bottler
Link to fluid-encapsulator--bottler
Methoden
Link to methoden
Rezept hinzufügen
Link to rezept-hinzufügen
The following script will add a recipe that will output Magma by "Bottling" Cobblestone with 500 mB of Lava, consuming 500 RF.
ZenScript Copy// <recipetype:thermal:bottler>.addRecipe(String name, IItemStack output, IIngredient ingredient, IFluidStack fluidInput, int energy);
<recipetype:thermal:bottler>.addRecipe("bottler_test", <item:minecraft:magma_block>, <item:minecraft:stone>, <fluid:minecraft:lava> *500, 500);
Remove Recipes
Link to remove-recipes
The following script will remove all Bottler recipes that output a Honey Bottle.
ZenScript Copy// <recipetype:thermal:bottler>.removeRecipe(IItemStack... output);
<recipetype:thermal:bottler>.removeRecipe(<item:minecraft:honey_bottle>);