Diese Klasse importieren

Link to diese-klasse-importieren

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import crafttweaker.api.recipe.type.Recipe;

Link to canCraftInDimensions

Name: canCraftInDimensions

Return Type: boolean

ZenScript
Copy
Recipe.canCraftInDimensions(var1 as int, var2 as int) as boolean
ParameterTypeBeschreibung
Parameter
var1
Type
int
Beschreibung
No Description Provided
Parameter
var2
Type
int
Beschreibung
No Description Provided

Name: getGroup

Return Type: string

ZenScript
Copy
// Recipe.getGroup() as string

myRecipe.getGroup();

Name: getId

Return Type: ResourceLocation

ZenScript
Copy
// Recipe.getId() as ResourceLocation

myRecipe.getId();

Name: getIngredients

Return Type: stdlib.List<IIngredient>

ZenScript
Copy
// Recipe.getIngredients() as stdlib.List<IIngredient>

myRecipe.getIngredients();

Name: getResultItem

Return Type: IItemStack

ZenScript
Copy
// Recipe.getResultItem() as IItemStack

myRecipe.getResultItem();

Name: getToastSymbol

Return Type: ItemStack

ZenScript
Copy
// Recipe.getToastSymbol() as ItemStack

myRecipe.getToastSymbol();

Name: isIncomplete

Return Type: boolean

ZenScript
Copy
// Recipe.isIncomplete() as boolean

myRecipe.isIncomplete();

Name: isSpecial

Return Type: boolean

ZenScript
Copy
// Recipe.isSpecial() as boolean

myRecipe.isSpecial();
NameTypeHas GetterHas SetterBeschreibung
Name
group
Type
string
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
id
Type
ResourceLocation
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
ingredients
Type
stdlib.List<IIngredient>
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
isIncomplete
Type
boolean
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
isSpecial
Type
boolean
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
resultItem
Type
IItemStack
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
toastSymbol
Type
Artikel-Stack
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided