Orechid (Botania)
Description
Converts stone blocks into one of a few ore blocks at the cost of mana.
Identifier
Refer to this via any of the following:
groovy
mods.botania.orechid/* Used as page default */
mods.botania.OrechidAdding Recipes
Adds recipes in the format
output,weight:groovymods.botania.orechid.add(OreDictIngredient, int)Adds recipes in the format
output,weight:groovymods.botania.orechid.add(String, int)
Example
groovy
mods.botania.orechid.add(ore('oreEmerald'), 1350)
mods.botania.orechid.add(ore('blockGold'), 1800)Removing Recipes
Removes all recipes that match the given output:
groovymods.botania.orechid.removeByOutput(OreDictIngredient)Removes all recipes that match the given output:
groovymods.botania.orechid.removeByOutput(String)Removes all registered recipes:
groovymods.botania.orechid.removeAll()
Example
groovy
mods.botania.orechid.removeByOutput(ore('oreEmerald'))
mods.botania.orechid.removeByOutput(ore('oreQuartz'))
mods.botania.orechid.removeByOutput('oreCoal')
mods.botania.orechid.removeAll()Getting the value of recipes
Iterates through every entry in the registry, with the ability to call remove on any element to remove it:
groovymods.botania.orechid.streamRecipes()
