SingleRecipeInput
Link to singlerecipeinput
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 crafttweaker.api.recipe.input.type.SingleRecipeInput;
Extending Record
Link to extending-record
SingleRecipeInput extends Record. That means all methods available in Record are also available in SingleRecipeInput
Implemented Interfaces
Link to implemented-interfaces
SingleRecipeInput implements the following interfaces. That means all methods defined in these interfaces are also available in SingleRecipeInput
Static Methods
Link to static-methods
Name: of
Return Type: SingleRecipeInput
ZenScript CopySingleRecipeInput.of(item as IItemStack) as SingleRecipeInput
Parameter | Type |
---|---|
Parameter item | Type IItemStack |
Properties
Link to properties
Name | Type | Has Getter | Has Setter |
---|---|---|---|
Name item | Type IItemStack | Has Getter true | Has Setter false |