Class DegradationEffectConfig

java.lang.Object
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<DegradationEffectConfig,IDegradationEffect>
org.cyclops.evilcraft.core.config.extendedconfig.DegradationEffectConfig
All Implemented Interfaces:
Comparable<org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<DegradationEffectConfig,IDegradationEffect>>
Direct Known Subclasses:
BiomeDegradationConfig, KnockbackDistortDegradationConfig, MobSpawnDegradationConfig, NauseateDegradationConfig, PalingDegradationConfig, ParticleDegradationConfig, SoundDegradationConfig, TerraformDegradationConfig

public abstract class DegradationEffectConfig extends org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<DegradationEffectConfig,IDegradationEffect>
Config for degradation effects.
See Also:
  • ExtendedConfig
  • Field Summary

    Fields inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig

    configProperties
  • Constructor Summary

    Constructors
    Constructor
    Description
    DegradationEffectConfig(String namedId, Function<DegradationEffectConfig,? extends IDegradationEffect> elementConstructor, int weight)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.cyclops.cyclopscore.config.ConfigurableType
     
     
    int
    Get the weight.

    Methods inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig

    compareTo, downCast, getConfigPropertyPrefix, getElementConstructor, getFullTranslationKey, getInstance, getMod, getNamedId, getSubUniqueName, initializeInstance, onConfigPropertyReload, onForgeRegistered, onRegistered, save, showDoubleInitError

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getTranslationKey

      public String getTranslationKey()
      Specified by:
      getTranslationKey in class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<DegradationEffectConfig,IDegradationEffect>
    • getConfigurableType

      public org.cyclops.cyclopscore.config.ConfigurableType getConfigurableType()
      Specified by:
      getConfigurableType in class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<DegradationEffectConfig,IDegradationEffect>
    • getWeight

      public int getWeight()
      Get the weight.
      Returns:
      The weight.