FluidOnTopRecipe
Link to fluidontoprecipe
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 Copyimport mods.exnihilosequentia.FluidOnTopRecipe;
Methods
Link to methods
Name: create
Create a recipe name for the new recipe
Return Type: FluidOnTopRecipe
ZenScript CopyFluidOnTopRecipe.create(recipeId as string) as FluidOnTopRecipe
Parameter | Type | Description |
---|---|---|
Parameter recipeId | Type string | Description name of recipe |
Name: setFluidInTank
Sets the fluid that should be in the barrel
Return Type: FluidOnTopRecipe
ZenScript CopyFluidOnTopRecipe.setFluidInTank(fluidInTank as IFluidStack) as FluidOnTopRecipe
Parameter | Type | Description |
---|---|---|
Parameter fluidInTank | Type IFluidStack | Description fluid in Tank |
Name: setFluidOnTop
Sets the fluid that should be on top of the barrel
Return Type: FluidOnTopRecipe
ZenScript CopyFluidOnTopRecipe.setFluidOnTop(fluidOnTop as IFluidStack) as FluidOnTopRecipe
Parameter | Type | Description |
---|---|---|
Parameter fluidOnTop | Type IFluidStack | Description fluid in Tank |
Name: setResult
Sets the result block that should be generated
Return Type: FluidOnTopRecipe
ZenScript CopyFluidOnTopRecipe.setResult(result as IItemStack) as FluidOnTopRecipe
Parameter | Type | Description |
---|---|---|
Parameter result | Type IItemStack | Description block or item |