SingleItemRecipe

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

Implements

SingleItemRecipe implements the following interfaces:

Recipe<Container>

Members

canCraftInDimensions(var1 as int, var2 as int) as bool
script.zs
// SingleItemRecipe.canCraftInDimensions(var1 as int, var2 as int) as bool;
mySingleItemRecipe.canCraftInDimensions(myInt, myInt);

Parameters:

var1 Type: int
var2 Type: int

Return Type: bool

Getter
script.zs
// SingleItemRecipe.group as string
mySingleItemRecipe.group

Return Type: string

group() as string
script.zs
// SingleItemRecipe.group() as string;
mySingleItemRecipe.group();

Return Type: string

Getter
script.zs
// SingleItemRecipe.id as ResourceLocation
mySingleItemRecipe.id

Return Type: ResourceLocation

id() as ResourceLocation
script.zs
// SingleItemRecipe.id() as ResourceLocation;
mySingleItemRecipe.id();

Return Type: ResourceLocation

Getter
script.zs
// SingleItemRecipe.ingredients as List<IIngredient>
mySingleItemRecipe.ingredients

Return Type: List<IIngredient>

ingredients() as List<IIngredient>
script.zs
// SingleItemRecipe.ingredients() as List<IIngredient>;
mySingleItemRecipe.ingredients();

Return Type: List<IIngredient>

Getter
script.zs
// SingleItemRecipe.isIncomplete as bool
mySingleItemRecipe.isIncomplete

Return Type: bool

isIncomplete() as bool
script.zs
// SingleItemRecipe.isIncomplete() as bool;
mySingleItemRecipe.isIncomplete();

Return Type: bool

Getter
script.zs
// SingleItemRecipe.isSpecial as bool
mySingleItemRecipe.isSpecial

Return Type: bool

isSpecial() as bool
script.zs
// SingleItemRecipe.isSpecial() as bool;
mySingleItemRecipe.isSpecial();

Return Type: bool

Getter
script.zs
// SingleItemRecipe.resultItem as IItemStack
mySingleItemRecipe.resultItem

Return Type: IItemStack

resultItem() as IItemStack
script.zs
// SingleItemRecipe.resultItem() as IItemStack;
mySingleItemRecipe.resultItem();

Return Type: IItemStack

Getter
script.zs
// SingleItemRecipe.toastSymbol as ItemStack
mySingleItemRecipe.toastSymbol

Return Type: ItemStack

toastSymbol() as ItemStack
script.zs
// SingleItemRecipe.toastSymbol() as ItemStack;
mySingleItemRecipe.toastSymbol();

Return Type: ItemStack