CraftingRecipe
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.
import crafttweaker.api.recipe.type.CraftingRecipe;
Implements
CraftingRecipe
implements the following interfaces:
Recipe<CraftingContainer>
Members
canCraftInDimensions(var1 as int, var2 as int) as bool
// CraftingRecipe.canCraftInDimensions(var1 as int, var2 as int) as bool;myCraftingRecipe.canCraftInDimensions(myInt, myInt);
Parameters:
var1: int
Type: int
var2: int
Type: int
Return Type:
bool
Getter
// CraftingRecipe.group as stringmyCraftingRecipe.group
Return Type:
string
group() as string
// CraftingRecipe.group() as string;myCraftingRecipe.group();
Return Type:
string
Getter
myCraftingRecipe.ingredients
Return Type:
List<IIngredient>
ingredients() as List<IIngredient>
Getter
// CraftingRecipe.isIncomplete as boolmyCraftingRecipe.isIncomplete
Return Type:
bool
isIncomplete() as bool
// CraftingRecipe.isIncomplete() as bool;myCraftingRecipe.isIncomplete();
Return Type:
bool
Getter
// CraftingRecipe.isSpecial as boolmyCraftingRecipe.isSpecial
Return Type:
bool
isSpecial() as bool
// CraftingRecipe.isSpecial() as bool;myCraftingRecipe.isSpecial();
Return Type:
bool
Getter
// CraftingRecipe.resultItem as IItemStackmyCraftingRecipe.resultItem
Return Type:
IItemStack
resultItem() as IItemStack