RecipeMachineStage

Link to recipemachinestage

Importing the class

Link to importing-the-class

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 mods.recipemachinestage.RecipeMachineStage;

Name: addRecipe

The method that blocks the recipe

ZenScript
Copy
// RecipeMachineStage.addRecipe(recipeType as string, recipeID as string, stage as string)

RecipeMachineStage.addRecipe("minecraft:smelting", "minecraft:stone", "one");
RecipeMachineStage.addRecipe("botania:mana_infusion", "botania:mana_infusion/mana_diamond", "two");
RecipeMachineStage.addRecipe("mekanism:metallurgic_infusing", "mekanism:processing/iron/enriched", "three");
ParameterTypeDescription
Parameter
recipeType
Type
string
Description
Recipe Type (In CraftTweaker <recipeType:minecraft:smelting> you need write without prefix . "minecraft:smelting")
Parameter
recipeID
Type
string
Description
Recipe ID ("minecraft:iron_ingot_from_blasting_iron_ore", "mekanism:processing/iron/enriched" etc.);
Parameter
stage
Type
string
Description
Stage who block the recipe ("one" etc.)

Name: addRecipe

A method that blocks multiple recipes

ZenScript
Copy
// RecipeMachineStage.addRecipe(recipeType as string, recipeID as string[], stage as string)

RecipeMachineStage.addRecipe("minecraft:smelting", ["minecraft:stone", "minecraft:iron_ingot"], "one");
ParameterTypeDescription
Parameter
recipeType
Type
string
Description
Recipe Type (In CraftTweaker <recipeType:minecraft:smelting> you need write without prefix . "minecraft:smelting")
Parameter
recipeID
Type
string[]
Description
Recipe IDs ("minecraft:iron_ingot_from_blasting_iron_ore", "mekanism:processing/iron/enriched" etc.);
Parameter
stage
Type
string
Description
Stage who block the recipe ("one" etc.)

Supported Mods List

Link to supported-mods-list