SmithingRecipeInput

Link to smithingrecipeinput

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 crafttweaker.api.recipe.input.type.SmithingRecipeInput;

Extending Record

Link to extending-record

SmithingRecipeInput extends Record. That means all methods available in Record are also available in SmithingRecipeInput

Implemented Interfaces

Link to implemented-interfaces

SmithingRecipeInput implements the following interfaces. That means all methods defined in these interfaces are also available in SmithingRecipeInput

Name: of

Return Type: SmithingRecipeInput

ZenScript
Copy
SmithingRecipeInput.of(template as IItemStack, base as IItemStack, addition as IItemStack) as SmithingRecipeInput
ParameterType
Parameter
template
Type
IItemStack
Parameter
base
Type
IItemStack
Parameter
addition
Type
IItemStack
NameTypeHas GetterHas Setter
Name
addition
Type
ItemStack
Has Getter
true
Has Setter
false
Name
base
Type
ItemStack
Has Getter
true
Has Setter
false
Name
template
Type
ItemStack
Has Getter
true
Has Setter
false