Skip to content

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.Orechid

Adding Recipes

  • Adds recipes in the format output, weight:

    groovy
    mods.botania.orechid.add(String, int)
  • Adds recipes in the format output, weight:

    groovy
    mods.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:

    groovy
    mods.botania.orechid.removeByOutput(String)
  • Removes all recipes that match the given output:

    groovy
    mods.botania.orechid.removeByOutput(OreDictIngredient)
  • Removes all registered recipes:

    groovy
    mods.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:

    groovy
    mods.botania.orechid.streamRecipes()

Contributors

© 2024 CleanroomMC. All Rights Reserved.