This page relates to Mystical Agriculture, which has built-in support!
Mystical Agriculture Reprocessor Crafting
Link to mystical-agriculture-reprocessor-crafting
Reprocessor Crafting is NOT a type of IRecipeManager and normal removal methods will not work for it.
Link to package
Importing The Package
You may want to import the class so you don't need to use the full package name everywhere, to do this simply add the following to the top of your script:
Now you can reference the class like so:
ReprocessorCrafting.addRecipe("reprocessor_test", <item:minecraft:diamond>, <item:minecraft:apple>);
Link to methods
The following script will add a recipe that will output a Diamond when an Apple is Reprocessed.
// mods.mysticalagriculture.ReprocessorCrafting.addRecipe(id as string, output as IItemStack, input as IIngredient); mods.mysticalagriculture.ReprocessorCrafting.addRecipe("reprocessor_test", <item:minecraft:diamond>, <item:minecraft:apple>);
The following script will remove the Reprocessor Crafting Recipe for Cow Essence.
// mods.mysticalagriculture.ReprocessorCrafting.remove(output as IItemStack); mods.mysticalagriculture.ReprocessorCrafting.remove(<item:mysticalagriculture:cow_essence>);