FluidTransformRecipe

Link to fluidtransformrecipe

Importing the class

Link to importing-the-class

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import mods.exnihilosequentia.FluidTransformRecipe;

Name: create

Create a recipe name for the new recipe

Return Type: FluidTransformRecipe

ZenScript
Copy
FluidTransformRecipe.create(recipeId as string) as FluidTransformRecipe
ParameterTypeDescription
Parameter
recipeId
Type
string
Description
name of recipe

Name: setCatalyst

Sets the block that should be underneath the barrel

Return Type: FluidTransformRecipe

ZenScript
Copy
FluidTransformRecipe.setCatalyst(catalyst as IIngredient) as FluidTransformRecipe
ParameterTypeDescription
Parameter
catalyst
Type
IIngredient
Description
block under barrel

Name: setFluidInTank

Sets the fluid that should be in the barrel

Return Type: FluidTransformRecipe

ZenScript
Copy
FluidTransformRecipe.setFluidInTank(fluidInTank as IFluidStack) as FluidTransformRecipe
ParameterTypeDescription
Parameter
fluidInTank
Type
IFluidStack
Description
fluid in Tank

Name: setResult

Sets the result block that should be generated

Return Type: FluidTransformRecipe

ZenScript
Copy
FluidTransformRecipe.setResult(result as IFluidStack) as FluidTransformRecipe
ParameterTypeDescription
Parameter
result
Type
IFluidStack
Description
block or item