Aevitas Perk Registry (Astral Sorcery)
Description
Having the Stone Enrichment perk will convert nearby stone blocks into random ores.
Identifier
The identifier mods.astralsorcery.aevitas_perk_registry will be used as the default on this page.
All Identifiers
Any of these can be used to refer to this compat:
groovy
mods.astral.aevitasperkregistry
mods.astral.aevitasPerkRegistry
mods.astral.AevitasPerkRegistry
mods.astral.aevitas_perk_registry
mods.astralsorcery.aevitasperkregistry
mods.astralsorcery.aevitasPerkRegistry
mods.astralsorcery.AevitasPerkRegistry
mods.astralsorcery.aevitas_perk_registry/* Used as page default */Adding Entries
Adds entries in the format
ore,weight:groovymods.astralsorcery.aevitas_perk_registry.add(String, int)
Example
groovy
mods.astralsorcery.aevitas_perk_registry.add(ore('blockDiamond'), 10000)Removing Entries
Removes entries of the given ore:
groovymods.astralsorcery.aevitas_perk_registry.remove(String)Removes entries of the given ore:
groovymods.astralsorcery.aevitas_perk_registry.remove(OreDictIngredient)Removes all registered recipes:
groovymods.astralsorcery.aevitas_perk_registry.removeAll()
Example
groovy
mods.astralsorcery.aevitas_perk_registry.remove(ore('oreDiamond'))
mods.astralsorcery.aevitas_perk_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:
groovymods.astralsorcery.aevitas_perk_registry.streamRecipes()
