Skip to content

Orechid Ignem (Botania)

Description

Converts netherrack 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_ignem/* Used as page default */
mods.botania.orechidignem
mods.botania.orechidIgnem
mods.botania.OrechidIgnem

Adding Recipes

  • Adds recipes in the format output, weight:

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

    groovy
    mods.botania.orechid_ignem.add(String, int)
Example
groovy
mods.botania.orechid_ignem.add(ore('oreEmerald'), 1350)
mods.botania.orechid_ignem.add(ore('blockGold'), 1800)

Removing Recipes

  • Removes all recipes that match the given output:

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

    groovy
    mods.botania.orechid_ignem.removeByOutput(String)
  • Removes all registered recipes:

    groovy
    mods.botania.orechid_ignem.removeAll()
Example
groovy
mods.botania.orechid_ignem.removeByOutput(ore('oreEmerald'))
mods.botania.orechid_ignem.removeByOutput(ore('oreQuartz'))
mods.botania.orechid_ignem.removeByOutput('oreQuartz')
mods.botania.orechid_ignem.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_ignem.streamRecipes()

© 2024 CleanroomMC. All Rights Reserved.