Class EffectConfig

java.lang.Object
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<EffectConfig,net.minecraft.world.effect.MobEffect,ModBase<?>>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<EffectConfig,net.minecraft.world.effect.MobEffect>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigForge<EffectConfig,net.minecraft.world.effect.MobEffect>
org.cyclops.cyclopscore.config.extendedconfig.EffectConfig
All Implemented Interfaces:
Comparable<org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<EffectConfig,net.minecraft.world.effect.MobEffect,ModBase<?>>>

@Deprecated public abstract class EffectConfig extends ExtendedConfigForge<EffectConfig,net.minecraft.world.effect.MobEffect>
Deprecated.
Config for potion effects.
See Also:
  • ExtendedConfigCommon
  • Constructor Details

    • EffectConfig

      public EffectConfig(ModBase<?> mod, String namedId, Function<EffectConfig,? extends net.minecraft.world.effect.MobEffect> elementConstructor)
      Deprecated.
      Make a new instance.
      Parameters:
      mod - The mod instance.
      namedId - The unique name ID for the configurable.
      elementConstructor - The element constructor.
  • Method Details

    • getTranslationKey

      public String getTranslationKey()
      Deprecated.
      Specified by:
      getTranslationKey in class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<EffectConfig,net.minecraft.world.effect.MobEffect,ModBase<?>>
    • getConfigurableType

      public ConfigurableType getConfigurableType()
      Deprecated.
      Specified by:
      getConfigurableType in class ExtendedConfig<EffectConfig,net.minecraft.world.effect.MobEffect>
    • getRegistry

      public net.minecraft.core.Registry<? super net.minecraft.world.effect.MobEffect> getRegistry()
      Deprecated.
      Specified by:
      getRegistry in class ExtendedConfigForge<EffectConfig,net.minecraft.world.effect.MobEffect>
      Returns:
      The registry in which this should be registered.