ShapedRecipe
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.
Implements
ShapedRecipe
implements the following interfaces:
CraftingRecipe
,Recipe<CraftingContainer>
,Recipe<Container>
Undocumented Interfaces
IShapedRecipe<CraftingContainer>
Members
canCraftInDimensions(var1 as int, var2 as int) as bool
Parameters:
var1: int
Type: int
var2: int
Type: int
Return Type:
bool
getIngredientArray() as IIngredient[][]
Gets the ingredients of this recipe as an array that can be passed into a craftingTable.addShaped method call.
Returns: the ingredients of this recipe as an array that can be passed into a craftingTable.addShaped method call.
Return Type:
IIngredient[][]
Getter
Return Type:
string
group() as string
Return Type:
string
Getter
Return Type:
int
height() as int
Return Type:
int
Getter
Return Type:
List<IIngredient>
ingredients() as List<IIngredient>
Return Type:
List<IIngredient>
Getter
Return Type:
bool
isIncomplete() as bool
Return Type:
bool
Getter
Return Type:
bool
isSpecial() as bool
Return Type:
bool
Getter
Return Type:
IItemStack
resultItem() as IItemStack
Return Type:
IItemStack
Getter
Return Type:
int
width() as int
Return Type:
int