Home Migration Guide Getting Started With Scripts Commands Examples
Generic JSON Recipes
This page relates to Ex Nihilo: Sequentia, which has built-in support!

Fluid Transform

Package

import mods.exnihilosequentia.ZenFluidTransformRecipe;

Methods

  • create(String name)
  • setFluidInTank(IFluidStack fluidInTank) the fluid in the tank
  • setCatalyst(IIngredient catalyst) the item to be inserted
  • setResult(IFluidStack result) the result of the recipe

Addition

script.zs
<recipetype:exnihilosequentia:fluid_transform>.create("fluid_transform_test").setFluidInTank(<fluid:minecraft:lava>).setCatalyst(<item:minecraft:diamond>).setResult(<fluid:minecraft:water>);

Removal

script.zs
<recipetype:exnihilosequentia:fluid_transform>.removeAll();