Orechid (Botania)
Description
Converts stone blocks into one of a few ore blocks at the cost of mana.
Identifier
The identifier mods.botania.orechid will be used as the default on this page.
All Identifiers
Any of these can be used to refer to this compat:
groovy
mods.botania.orechid/* Used as page default */
mods.botania.OrechidAdding Recipes
Adds recipes in the format
output,weight:groovymods.botania.orechid.add(String, int)Adds recipes in the format
output,weight:groovymods.botania.orechid.add(OreDictIngredient, 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(String)Removes all recipes that match the given output:
groovymods.botania.orechid.removeByOutput(OreDictIngredient)Removes all registered recipes:
groovymods.botania.orechid.removeAll()
Example
groovy
mods.botania.orechid.removeByOutput('oreCoal')
mods.botania.orechid.removeByOutput(ore('oreEmerald'))
mods.botania.orechid.removeByOutput(ore('oreQuartz'))
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()
