public abstract class BiomeConfig extends ExtendedConfig<BiomeConfig>
ExtendedConfigIInitListener.StepconfigProperties| Constructor and Description |
|---|
BiomeConfig(int defaultId,
java.lang.String namedId,
java.lang.String comment,
java.lang.Class<? extends net.minecraft.world.biome.BiomeGenBase> element)
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
ConfigurableBiome |
getBiome()
Get the biome configurable
|
ConfigurableType |
getHolderType()
Return the configurable type for which this config holds data
|
int |
getId() |
java.lang.String |
getUnlocalizedName()
Get the unlocalized name (must be unique!) for this configurable.
|
boolean |
isEnabled()
Checks if the eConfig refers to a target that should be enabled.
|
void |
registerBiomeDictionary()
Register the biome instance into the biome dictionary.
|
void |
setId(int id)
Set the ID.
|
compareTo, downCast, getComment, getConfigPropertyPrefix, getElement, getFullUnlocalizedName, getNamedId, getSubInstance, getSubUniqueName, initSubInstance, isDisableable, isHardDisabled, onInit, onRegistered, save, setEnabled, showDoubleInitErrorpublic BiomeConfig(int defaultId,
java.lang.String namedId,
java.lang.String comment,
java.lang.Class<? extends net.minecraft.world.biome.BiomeGenBase> element)
defaultId - The default ID for the configurable.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.public int getId()
public void setId(int id)
id - The new ID.public java.lang.String getUnlocalizedName()
ExtendedConfiggetUnlocalizedName in class ExtendedConfig<BiomeConfig>public ConfigurableType getHolderType()
ExtendedConfiggetHolderType in class ExtendedConfig<BiomeConfig>public ConfigurableBiome getBiome()
public void registerBiomeDictionary()
BiomeDictionarypublic boolean isEnabled()
ExtendedConfigisEnabled in class ExtendedConfig<BiomeConfig>