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.
import crafttweaker . api.recipe.type . ShapedRecipe;
ShapedRecipe
implements the following interfaces:
CraftingRecipe
,Recipe <CraftingContainer >
,Recipe <Container >
Undocumented Interfaces IShapedRecipe <CraftingContainer >
// ShapedRecipe.canCraftInDimensions(var1 as int, var2 as int) as bool;
myShapedRecipe . canCraftInDimensions(myInt, myInt);
Parameters:
var1: int
Type: int
var2: int
Type: int
Return Type:
bool
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.
// ShapedRecipe.getIngredientArray() as IIngredient[][];
myShapedRecipe . getIngredientArray();
Return Type:
IIngredient [][]
// ShapedRecipe.group as string
Return Type:
string
// ShapedRecipe.group() as string;
Return Type:
string
// ShapedRecipe.height as int
Return Type:
int
// ShapedRecipe.height() as int;
Return Type:
int
// ShapedRecipe.ingredients as List<IIngredient>
myShapedRecipe . ingredients
Return Type:
List <IIngredient >
// ShapedRecipe.ingredients() as List<IIngredient>;
myShapedRecipe . ingredients();
Return Type:
List <IIngredient >
// ShapedRecipe.isIncomplete as bool
myShapedRecipe . isIncomplete
Return Type:
bool
// ShapedRecipe.isIncomplete() as bool;
myShapedRecipe . isIncomplete();
Return Type:
bool
// ShapedRecipe.isSpecial as bool
Return Type:
bool
// ShapedRecipe.isSpecial() as bool;
myShapedRecipe . isSpecial();
Return Type:
bool
// ShapedRecipe.resultItem as IItemStack
myShapedRecipe . resultItem
Return Type:
IItemStack
// ShapedRecipe.resultItem() as IItemStack;
myShapedRecipe . resultItem();
Return Type:
IItemStack
// ShapedRecipe.toastSymbol as ItemStack
myShapedRecipe . toastSymbol
Return Type:
ItemStack
// ShapedRecipe.toastSymbol() as ItemStack;
myShapedRecipe . toastSymbol();
Return Type:
ItemStack
// ShapedRecipe.width as int
Return Type:
int
// ShapedRecipe.width() as int;
Return Type:
int