Interface AMRegistries


@NonExtendable public interface AMRegistries
Holds all registries added by the mod, including getters for the datapack registries.
  • Field Details

    • ABILITY_EFFECTS

      static final net.minecraft.core.Registry<com.mojang.serialization.MapCodec<? extends AbilityEffect>> ABILITY_EFFECTS
      The registry for AbilityEffects.
    • GROWTH_TYPES

      static final net.minecraft.core.Registry<com.mojang.serialization.MapCodec<? extends GrowthType>> GROWTH_TYPES
      The registry for GrowthTypes.
    • RITUAL_EFFECTS

      static final net.minecraft.core.Registry<com.mojang.serialization.MapCodec<? extends RitualEffect>> RITUAL_EFFECTS
      The registry for RitualEffects.
    • RITUAL_REQUIREMENTS

      static final net.minecraft.core.Registry<com.mojang.serialization.MapCodec<? extends RitualRequirement>> RITUAL_REQUIREMENTS
      The registry for RitualRequirements.
    • RITUAL_TRIGGERS

      static final net.minecraft.core.Registry<com.mojang.serialization.MapCodec<? extends RitualTrigger<?>>> RITUAL_TRIGGERS
      The registry for RitualTriggers.
    • SPELL_INGREDIENTS

      static final net.minecraft.core.Registry<com.mojang.serialization.MapCodec<? extends SpellIngredient>> SPELL_INGREDIENTS
      The registry for SpellIngredients.
    • SPELL_PARTS

      static final net.minecraft.core.Registry<SpellPart> SPELL_PARTS
      The registry for SpellParts.
  • Method Details

    • abilities

      static net.minecraft.core.Registry<Ability> abilities(net.minecraft.core.RegistryAccess registryAccess)
      Parameters:
      registryAccess - The RegistryAccess to use.
      Returns:
      The registry for Abilitys.
    • abilities

      static net.minecraft.core.Registry<Ability> abilities(boolean client)
      Parameters:
      client - True if this is called from a client context, false if this is called from a server context.
      Returns:
      The registry for Abilitys.
    • affinities

      static net.minecraft.core.Registry<Affinity> affinities(net.minecraft.core.RegistryAccess registryAccess)
      Parameters:
      registryAccess - The RegistryAccess to use.
      Returns:
      The registry for Affinitys.
    • affinities

      static net.minecraft.core.Registry<Affinity> affinities(boolean client)
      Parameters:
      client - True if this is called from a client context, false if this is called from a server context.
      Returns:
      The registry for Affinitys.
    • altarCapMaterials

      static net.minecraft.core.Registry<AltarCapMaterial> altarCapMaterials(net.minecraft.core.RegistryAccess registryAccess)
      Parameters:
      registryAccess - The RegistryAccess to use.
      Returns:
      The registry for AltarCapMaterials.
    • altarCapMaterials

      static net.minecraft.core.Registry<AltarCapMaterial> altarCapMaterials(boolean client)
      Parameters:
      client - True if this is called from a client context, false if this is called from a server context.
      Returns:
      The registry for AltarCapMaterials.
    • altarMaterials

      static net.minecraft.core.Registry<AltarMaterial> altarMaterials(net.minecraft.core.RegistryAccess registryAccess)
      Parameters:
      registryAccess - The RegistryAccess to use.
      Returns:
      The registry for AltarMaterials.
    • altarMaterials

      static net.minecraft.core.Registry<AltarMaterial> altarMaterials(boolean client)
      Parameters:
      client - True if this is called from a client context, false if this is called from a server context.
      Returns:
      The registry for AltarMaterials.
    • etheriumTypes

      static net.minecraft.core.Registry<EtheriumType> etheriumTypes(net.minecraft.core.RegistryAccess registryAccess)
      Parameters:
      registryAccess - The RegistryAccess to use.
      Returns:
      The registry for EtheriumTypes.
    • etheriumTypes

      static net.minecraft.core.Registry<EtheriumType> etheriumTypes(boolean client)
      Parameters:
      client - True if this is called from a client context, false if this is called from a server context.
      Returns:
      The registry for EtheriumTypes.
    • occulusTabs

      static net.minecraft.core.Registry<OcculusTab> occulusTabs(net.minecraft.core.RegistryAccess registryAccess)
      Parameters:
      registryAccess - The RegistryAccess to use.
      Returns:
      The registry for OcculusTabs.
    • occulusTabs

      static net.minecraft.core.Registry<OcculusTab> occulusTabs(boolean client)
      Parameters:
      client - True if this is called from a client context, false if this is called from a server context.
      Returns:
      The registry for OcculusTabs.
    • plants

      static net.minecraft.core.Registry<Plant> plants(net.minecraft.core.RegistryAccess registryAccess)
      Parameters:
      registryAccess - The RegistryAccess to use.
      Returns:
      The registry for Plants.
    • plants

      static net.minecraft.core.Registry<Plant> plants(boolean client)
      Parameters:
      client - True if this is called from a client context, false if this is called from a server context.
      Returns:
      The registry for Plants.
    • rituals

      static net.minecraft.core.Registry<Ritual<?>> rituals(net.minecraft.core.RegistryAccess registryAccess)
      Parameters:
      registryAccess - The RegistryAccess to use.
      Returns:
      The registry for Rituals.
    • rituals

      static net.minecraft.core.Registry<Ritual<?>> rituals(boolean client)
      Parameters:
      client - True if this is called from a client context, false if this is called from a server context.
      Returns:
      The registry for Rituals.
    • skills

      static net.minecraft.core.Registry<Skill> skills(net.minecraft.core.RegistryAccess registryAccess)
      Parameters:
      registryAccess - The RegistryAccess to use.
      Returns:
      The registry for Skills.
    • skills

      static net.minecraft.core.Registry<Skill> skills(boolean client)
      Parameters:
      client - True if this is called from a client context, false if this is called from a server context.
      Returns:
      The registry for Skills.
    • skillPoints

      static net.minecraft.core.Registry<SkillPoint> skillPoints(net.minecraft.core.RegistryAccess registryAccess)
      Parameters:
      registryAccess - The RegistryAccess to use.
      Returns:
      The registry for SkillPoints.
    • skillPoints

      static net.minecraft.core.Registry<SkillPoint> skillPoints(boolean client)
      Parameters:
      client - True if this is called from a client context, false if this is called from a server context.
      Returns:
      The registry for SkillPoints.
    • spellPartData

      static net.minecraft.core.Registry<SpellPartData> spellPartData(net.minecraft.core.RegistryAccess registryAccess)
      Parameters:
      registryAccess - The RegistryAccess to use.
      Returns:
      The registry for SpellPartDatas.
    • spellPartData

      static net.minecraft.core.Registry<SpellPartData> spellPartData(boolean client)
      Parameters:
      client - True if this is called from a client context, false if this is called from a server context.
      Returns:
      The registry for SpellPartDatas.
    • spellPrefabs

      static net.minecraft.core.Registry<Spell> spellPrefabs(net.minecraft.core.RegistryAccess registryAccess)
      Parameters:
      registryAccess - The RegistryAccess to use.
      Returns:
      The registry for Spell prefabs.
    • spellPrefabs

      static net.minecraft.core.Registry<Spell> spellPrefabs(boolean client)
      Parameters:
      client - True if this is called from a client context, false if this is called from a server context.
      Returns:
      The registry for Spell prefabs.
    • registryAccess

      static net.minecraft.core.RegistryAccess registryAccess(boolean client)
      Returns the correct RegistryAccess for the current side. Note that during scenarios such as world loading, this may be unreliable, use more reliable sources there, e.g. Level.registryAccess().
      Parameters:
      client - True if this is called from a client context, false if this is called from a server context.
      Returns:
      The correct RegistryAccess for the current side.