Home Commands Examples Getting Started With Scripts Global Keywords
BracketDumpers BracketHandlers BracketValidators ResourceLocationBracketHandler

RecipeFunction1D

Importing the class

If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.

script.zs
import crafttweaker.api.recipe.fun.RecipeFunction1D;

Members

process(usualOut as IItemStack, inputs as IItemStack[]) as IItemStack
script.zs
// RecipeFunction1D.process(usualOut as IItemStack, inputs as IItemStack[]) as IItemStack;
myRecipeFunction1D.process(myIItemStack, myIItemStack[]);

Parameters:

usualOut Type: IItemStack
inputs Type: IItemStack[]

Return Type: IItemStack