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.

script.zs
import crafttweaker.api.recipe.type.CraftingRecipe;

Implements

CraftingRecipe implements the following interfaces:

Recipe<CraftingContainer>

Members

canCraftInDimensions(var1 as int, var2 as int) as bool
script.zs
// CraftingRecipe.canCraftInDimensions(var1 as int, var2 as int) as bool;
myCraftingRecipe.canCraftInDimensions(myInt, myInt);

Parameters:

var1 Type: int
var2 Type: int

Return Type: bool

Getter
script.zs
// CraftingRecipe.group as string
myCraftingRecipe.group

Return Type: string

group() as string
script.zs
// CraftingRecipe.group() as string;
myCraftingRecipe.group();

Return Type: string

Getter
script.zs
// CraftingRecipe.ingredients as List<IIngredient>
myCraftingRecipe.ingredients

Return Type: List<IIngredient>

ingredients() as List<IIngredient>
script.zs
// CraftingRecipe.ingredients() as List<IIngredient>;
myCraftingRecipe.ingredients();

Return Type: List<IIngredient>

Getter
script.zs
// CraftingRecipe.isIncomplete as bool
myCraftingRecipe.isIncomplete

Return Type: bool

isIncomplete() as bool
script.zs
// CraftingRecipe.isIncomplete() as bool;
myCraftingRecipe.isIncomplete();

Return Type: bool

Getter
script.zs
// CraftingRecipe.isSpecial as bool
myCraftingRecipe.isSpecial

Return Type: bool

isSpecial() as bool
script.zs
// CraftingRecipe.isSpecial() as bool;
myCraftingRecipe.isSpecial();

Return Type: bool

Getter
script.zs
// CraftingRecipe.resultItem as IItemStack
myCraftingRecipe.resultItem

Return Type: IItemStack

resultItem() as IItemStack
script.zs
// CraftingRecipe.resultItem() as IItemStack;
myCraftingRecipe.resultItem();

Return Type: IItemStack

Getter
script.zs
// CraftingRecipe.toastSymbol as ItemStack
myCraftingRecipe.toastSymbol

Return Type: ItemStack

toastSymbol() as ItemStack
script.zs
// CraftingRecipe.toastSymbol() as ItemStack;
myCraftingRecipe.toastSymbol();

Return Type: ItemStack