Ars-Nouveau has built in mod support! You don't need any other mods for this to work!

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().

方法

添加配方

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(String name, String tier, IItemStack reagent, IItemStack output);

<recipetype:ars_nouveau:glyph_recipe>.addRecipe("glyph_test", "one", <item:minecraft:dirt>, <item:minecraft:diamond>);

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(IItemStack output);

<recipetype:ars_nouveau:glyph_recipe>.removeRecipe(<item:ars_nouveau:glyph_touch>);