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

Fluid Item Transformation

Link to fluid-item-transformation

import mods.exnihilosequentia.ZenFluidItemRecipe;

  • create(String name)
  • setFluidInTank(IFluidStack fluidInTank) the fluid in the tank
  • setInputItem(IIngredient inputItem) the input
  • setResult(IItemStack result) the result of the recipe
ZenScript
Copy
<recipetype:exnihilosequentia:fluid_item>.create("fluid_item_test").setFluidInTank(<fluid:minecraft:water>).setInputItem(<item:minecraft:diamond>).setResult(<item:minecraft:dirt>);
ZenScript
Copy
<recipetype:exnihilosequentia:fluid_item>.removeRecipe(<item:minecraft:brain_coral_block>);