This page relates to Ex Nihilo: Sequentia, which has built-in support!

import mods.exnihilosequentia.ZenFluidOnTopRecipe;

  • create(String name)
  • setFluidInTank(IFluidStack fluidInTank) the fluid in the tank
  • setFluidOnTop(IFluidStack fluidOnTop) the fluid on top
  • setResult(IItemStack result) the result of the recipe
ZenScript
Copy
<recipetype:exnihilosequentia:fluid_on_top>.create("fluid_on_top_test").setFluidInTank(<fluid:minecraft:lava>).setFluidOnTop(<fluid:minecraft:water>).setResult(<item:minecraft:netherrack>);
ZenScript
Copy
<recipetype:exnihilosequentia:fluid_on_top>.removeRecipe(<item:minecraft:obsidian>);