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
ConstructorsConstructorDescriptionDegradationEffectConfig(String namedId, Function<DegradationEffectConfig, ? extends IDegradationEffect> elementConstructor, int weight) -
Method Summary
Modifier and TypeMethodDescriptionorg.cyclops.cyclopscore.config.ConfigurableTypeintGet 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
-
Constructor Details
-
DegradationEffectConfig
public DegradationEffectConfig(String namedId, Function<DegradationEffectConfig, ? extends IDegradationEffect> elementConstructor, int weight)
-
-
Method Details
-
getTranslationKey
- Specified by:
getTranslationKeyin classorg.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<DegradationEffectConfig,IDegradationEffect>
-
getConfigurableType
public org.cyclops.cyclopscore.config.ConfigurableType getConfigurableType()- Specified by:
getConfigurableTypein classorg.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<DegradationEffectConfig,IDegradationEffect>
-
getWeight
public int getWeight()Get the weight.- Returns:
- The weight.
-