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
|
org.cyclops.cyclopscore.config.ConfigurableType |
getHolderType() |
java.lang.String |
getUnlocalizedName() |
int |
getWeight()
Get the weight.
|
compareTo, downCast, getComment, getConfigPropertyPrefix, getElement, getFullUnlocalizedName, getMod, getNamedId, getSubInstance, getSubUniqueName, initSubInstance, isDisableable, isEnabled, isHardDisabled, 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 getUnlocalizedName()
getUnlocalizedName 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()