Skip to content

Mineralis Ritual Registry (Astral Sorcery)

Description

Using a mineralis ritual will convert nearby stone blocks into random ores.

Identifier

Refer to this via any of the following:

groovy
mods.astralsorcery.mineralis_ritual_registry/* Used as page default */
mods.astralsorcery.mineralisritualregistry
mods.astralsorcery.mineralisRitualRegistry
mods.astralsorcery.MineralisRitualRegistry
mods.astral.mineralis_ritual_registry
mods.astral.mineralisritualregistry
mods.astral.mineralisRitualRegistry
mods.astral.MineralisRitualRegistry

Adding Entries

  • Adds entries in the format ore, weight:

    groovy
    mods.astralsorcery.mineralis_ritual_registry.add(String, int)
Example
groovy
mods.astralsorcery.mineralis_ritual_registry.add(ore('blockDiamond'), 10000)

Removing Entries

  • Removes entries of the given ore:

    groovy
    mods.astralsorcery.mineralis_ritual_registry.remove(OreDictIngredient)
  • Removes entries of the given ore:

    groovy
    mods.astralsorcery.mineralis_ritual_registry.remove(String)
  • Removes all registered recipes:

    groovy
    mods.astralsorcery.mineralis_ritual_registry.removeAll()
Example
groovy
mods.astralsorcery.mineralis_ritual_registry.remove(ore('oreDiamond'))
mods.astralsorcery.mineralis_ritual_registry.removeAll()

Getting the value of entries

  • Iterates through every entry in the registry, with the ability to call remove on any element to remove it:

    groovy
    mods.astralsorcery.mineralis_ritual_registry.streamRecipes()

贡献者

页面历史

© 2024 CleanroomMC. All Rights Reserved.