Interface AMRegistries
@NonExtendable
public interface AMRegistries
Holds all registries added by the mod, including getters for the datapack registries.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceHolds all registry keys used by the mod. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.core.Registry<com.mojang.serialization.MapCodec<? extends AbilityEffect>> The registry forAbilityEffects.static final net.minecraft.core.Registry<com.mojang.serialization.MapCodec<? extends GrowthType>> The registry forGrowthTypes.static final net.minecraft.core.Registry<com.mojang.serialization.MapCodec<? extends RitualEffect>> The registry forRitualEffects.static final net.minecraft.core.Registry<com.mojang.serialization.MapCodec<? extends RitualRequirement>> The registry forRitualRequirements.static final net.minecraft.core.Registry<com.mojang.serialization.MapCodec<? extends RitualTrigger<?>>> The registry forRitualTriggers.static final net.minecraft.core.Registry<com.mojang.serialization.MapCodec<? extends SpellIngredient>> The registry forSpellIngredients.static final net.minecraft.core.Registry<SpellPart> The registry forSpellParts. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic net.minecraft.core.Registry<Ability> abilities(boolean client) static net.minecraft.core.Registry<Ability> abilities(net.minecraft.core.RegistryAccess registryAccess) static net.minecraft.core.Registry<Affinity> affinities(boolean client) static net.minecraft.core.Registry<Affinity> affinities(net.minecraft.core.RegistryAccess registryAccess) static net.minecraft.core.Registry<AltarCapMaterial> altarCapMaterials(boolean client) static net.minecraft.core.Registry<AltarCapMaterial> altarCapMaterials(net.minecraft.core.RegistryAccess registryAccess) static net.minecraft.core.Registry<AltarMaterial> altarMaterials(boolean client) static net.minecraft.core.Registry<AltarMaterial> altarMaterials(net.minecraft.core.RegistryAccess registryAccess) static net.minecraft.core.Registry<EtheriumType> etheriumTypes(boolean client) static net.minecraft.core.Registry<EtheriumType> etheriumTypes(net.minecraft.core.RegistryAccess registryAccess) static net.minecraft.core.Registry<OcculusTab> occulusTabs(boolean client) static net.minecraft.core.Registry<OcculusTab> occulusTabs(net.minecraft.core.RegistryAccess registryAccess) static net.minecraft.core.Registry<Plant> plants(boolean client) static net.minecraft.core.Registry<Plant> plants(net.minecraft.core.RegistryAccess registryAccess) static net.minecraft.core.RegistryAccessregistryAccess(boolean client) Returns the correctRegistryAccessfor the current side.static net.minecraft.core.Registry<Ritual<?>> rituals(boolean client) static net.minecraft.core.Registry<Ritual<?>> rituals(net.minecraft.core.RegistryAccess registryAccess) static net.minecraft.core.Registry<SkillPoint> skillPoints(boolean client) static net.minecraft.core.Registry<SkillPoint> skillPoints(net.minecraft.core.RegistryAccess registryAccess) static net.minecraft.core.Registry<Skill> skills(boolean client) static net.minecraft.core.Registry<Skill> skills(net.minecraft.core.RegistryAccess registryAccess) static net.minecraft.core.Registry<SpellPartData> spellPartData(boolean client) static net.minecraft.core.Registry<SpellPartData> spellPartData(net.minecraft.core.RegistryAccess registryAccess) static net.minecraft.core.Registry<Spell> spellPrefabs(boolean client) static net.minecraft.core.Registry<Spell> spellPrefabs(net.minecraft.core.RegistryAccess registryAccess)
-
Field Details
-
ABILITY_EFFECTS
static final net.minecraft.core.Registry<com.mojang.serialization.MapCodec<? extends AbilityEffect>> ABILITY_EFFECTSThe registry forAbilityEffects. -
GROWTH_TYPES
static final net.minecraft.core.Registry<com.mojang.serialization.MapCodec<? extends GrowthType>> GROWTH_TYPESThe registry forGrowthTypes. -
RITUAL_EFFECTS
static final net.minecraft.core.Registry<com.mojang.serialization.MapCodec<? extends RitualEffect>> RITUAL_EFFECTSThe registry forRitualEffects. -
RITUAL_REQUIREMENTS
static final net.minecraft.core.Registry<com.mojang.serialization.MapCodec<? extends RitualRequirement>> RITUAL_REQUIREMENTSThe registry forRitualRequirements. -
RITUAL_TRIGGERS
static final net.minecraft.core.Registry<com.mojang.serialization.MapCodec<? extends RitualTrigger<?>>> RITUAL_TRIGGERSThe registry forRitualTriggers. -
SPELL_INGREDIENTS
static final net.minecraft.core.Registry<com.mojang.serialization.MapCodec<? extends SpellIngredient>> SPELL_INGREDIENTSThe registry forSpellIngredients. -
SPELL_PARTS
-
-
Method Details
-
abilities
-
abilities
-
affinities
-
affinities
-
altarCapMaterials
static net.minecraft.core.Registry<AltarCapMaterial> altarCapMaterials(net.minecraft.core.RegistryAccess registryAccess) - Parameters:
registryAccess- TheRegistryAccessto use.- Returns:
- The registry for
AltarCapMaterials.
-
altarCapMaterials
- 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- TheRegistryAccessto use.- Returns:
- The registry for
AltarMaterials.
-
altarMaterials
- 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- TheRegistryAccessto use.- Returns:
- The registry for
EtheriumTypes.
-
etheriumTypes
- 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- TheRegistryAccessto use.- Returns:
- The registry for
OcculusTabs.
-
occulusTabs
- 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
-
plants
-
rituals
-
rituals
-
skills
-
skills
-
skillPoints
static net.minecraft.core.Registry<SkillPoint> skillPoints(net.minecraft.core.RegistryAccess registryAccess) - Parameters:
registryAccess- TheRegistryAccessto use.- Returns:
- The registry for
SkillPoints.
-
skillPoints
- 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- TheRegistryAccessto use.- Returns:
- The registry for
SpellPartDatas.
-
spellPartData
- 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
-
spellPrefabs
-
registryAccess
static net.minecraft.core.RegistryAccess registryAccess(boolean client) Returns the correctRegistryAccessfor 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
RegistryAccessfor the current side.
-