public abstract class DegradationEffectConfig extends org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<DegradationEffectConfig>
ExtendedConfig| Constructor and Description |
|---|
DegradationEffectConfig(boolean enabled,
java.lang.String namedId,
java.lang.String comment,
java.lang.Class<? extends ConfigurableDegradationEffect> element,
int weight)
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
ConfigurableDegradationEffect |
getDegradationEffect()
Get the biome configurable
|
java.lang.String |
getFullTranslationKey() |
org.cyclops.cyclopscore.config.ConfigurableType |
getHolderType() |
java.lang.String |
getTranslationKey() |
int |
getWeight()
Get the weight.
|
compareTo, downCast, getComment, getConfigPropertyPrefix, getElement, getMod, getNamedId, getRegistry, getSubInstance, getSubUniqueName, initSubInstance, isDisableable, isEnabled, isHardDisabled, onForgeRegistered, onInit, onRegistered, save, setEnabled, showDoubleInitErrorpublic DegradationEffectConfig(boolean enabled,
java.lang.String namedId,
java.lang.String comment,
java.lang.Class<? extends ConfigurableDegradationEffect> element,
int weight)
enabled - If this should is enabled.namedId - The unique name ID for the configurable.comment - The comment to add in the config file for this configurable.element - The class of this configurable.weight - The weight of the degradation effect.public java.lang.String getTranslationKey()
getTranslationKey in class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<DegradationEffectConfig>public java.lang.String getFullTranslationKey()
getFullTranslationKey in class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<DegradationEffectConfig>public org.cyclops.cyclopscore.config.ConfigurableType getHolderType()
getHolderType in class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<DegradationEffectConfig>public ConfigurableDegradationEffect getDegradationEffect()
public int getWeight()