This page relates to Ars-Nouveau, which has built-in support!
Ars-Nouveau Glyph Press
Link to ars-nouveau-glyph-press
The Glyph Press is a type of IRecipeManager and implements all the methods that are available to IRecipeManager's, such as removeRecipe()
and removeAll()
.
Methods
Link to methods
Add Recipe
Link to add-recipe
The following script will add a tier "one" recipe to the Glyph Press that will output a Diamond when dirt is given to the Press.
ZenScript Copy// <recipetype:ars_nouveau:glyph_recipe>.addRecipe(name as String, tier as String, reagent as IItemStack, output as IItemStack);
<recipetype:ars_nouveau:glyph_recipe>.addRecipe("glyph_test", "one", <item:minecraft:dirt>, <item:minecraft:diamond>);
Remove Recipes
Link to remove-recipes
The following script will remove all recipes from the Glyph Press that output Glyph: Touch.
ZenScript Copy// <recipetype:ars_nouveau:glyph_recipe>.removeRecipe(output as IItemStack);
<recipetype:ars_nouveau:glyph_recipe>.removeRecipe(<item:ars_nouveau:glyph_touch>);