public abstract class DegradationEffectConfig extends ExtendedConfig<DegradationEffectConfig>
ExtendedConfigIInitListener.StepconfigProperties| 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
|
ConfigurableType |
getHolderType()
Return the configurable type for which this config holds data
|
java.lang.String |
getUnlocalizedName()
Get the unlocalized name (must be unique!) for this configurable.
|
int |
getWeight()
Get the weight.
|
compareTo, downCast, getComment, getConfigPropertyPrefix, getElement, getFullUnlocalizedName, 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()
ExtendedConfiggetUnlocalizedName in class ExtendedConfig<DegradationEffectConfig>public ConfigurableType getHolderType()
ExtendedConfiggetHolderType in class ExtendedConfig<DegradationEffectConfig>public ConfigurableDegradationEffect getDegradationEffect()
public int getWeight()