Recipe

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.Recipe;

Members

canCraftInDimensions(var1 as int, var2 as int) as bool
script.zs
// Recipe<C : Container>.canCraftInDimensions(var1 as int, var2 as int) as bool;
myRecipe.canCraftInDimensions(myInt, myInt);

Parameters:

var1 Type: int
var2 Type: int

Return Type: bool

Getter
script.zs
// Recipe<C : Container>.group as string
myRecipe.group

Return Type: string

group() as string
script.zs
// Recipe<C : Container>.group() as string;
myRecipe.group();

Return Type: string

Getter
script.zs
// Recipe<C : Container>.ingredients as List<IIngredient>
myRecipe.ingredients

Return Type: List<IIngredient>

ingredients() as List<IIngredient>
script.zs
// Recipe<C : Container>.ingredients() as List<IIngredient>;
myRecipe.ingredients();

Return Type: List<IIngredient>

Getter
script.zs
// Recipe<C : Container>.isIncomplete as bool
myRecipe.isIncomplete

Return Type: bool

isIncomplete() as bool
script.zs
// Recipe<C : Container>.isIncomplete() as bool;
myRecipe.isIncomplete();

Return Type: bool

Getter
script.zs
// Recipe<C : Container>.isSpecial as bool
myRecipe.isSpecial

Return Type: bool

isSpecial() as bool
script.zs
// Recipe<C : Container>.isSpecial() as bool;
myRecipe.isSpecial();

Return Type: bool

Getter
script.zs
// Recipe<C : Container>.resultItem as IItemStack
myRecipe.resultItem

Return Type: IItemStack

resultItem() as IItemStack
script.zs
// Recipe<C : Container>.resultItem() as IItemStack;
myRecipe.resultItem();

Return Type: IItemStack

Getter
script.zs
// Recipe<C : Container>.toastSymbol as ItemStack
myRecipe.toastSymbol

Return Type: ItemStack

toastSymbol() as ItemStack
script.zs
// Recipe<C : Container>.toastSymbol() as ItemStack;
myRecipe.toastSymbol();

Return Type: ItemStack