Class BiomeConfig
java.lang.Object
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<C,I>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigForge<BiomeConfig,net.minecraft.world.level.biome.Biome>
org.cyclops.cyclopscore.config.extendedconfig.BiomeConfig
- All Implemented Interfaces:
Comparable<ExtendedConfig<BiomeConfig,
net.minecraft.world.level.biome.Biome>>
public abstract class BiomeConfig
extends ExtendedConfigForge<BiomeConfig,net.minecraft.world.level.biome.Biome>
Config for biomes.
- See Also:
-
Field Summary
Fields inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig
configProperties
-
Constructor Summary
ConstructorDescriptionBiomeConfig
(ModBase mod, String namedId, Function<BiomeConfig, ? extends net.minecraft.world.level.biome.Biome> elementConstructor) -
Method Summary
Modifier and TypeMethodDescriptionReturn the configurable type for which this config holds datanet.minecraftforge.registries.IForgeRegistry<net.minecraft.world.level.biome.Biome>
Get the unlocalized name (must be unique!) for this configurable.Methods inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigForge
getResourceKey
Methods inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig
compareTo, downCast, getConfigPropertyPrefix, getFullTranslationKey, getInstance, getSubUniqueName, initializeInstance, onConfigPropertyReload, onForgeRegistered, onRegistered, save, showDoubleInitError
-
Constructor Details
-
BiomeConfig
public BiomeConfig(ModBase mod, String namedId, Function<BiomeConfig, ? extends net.minecraft.world.level.biome.Biome> elementConstructor)
-
-
Method Details
-
getTranslationKey
Description copied from class:ExtendedConfig
Get the unlocalized name (must be unique!) for this configurable.- Specified by:
getTranslationKey
in classExtendedConfig<BiomeConfig,
net.minecraft.world.level.biome.Biome> - Returns:
- The unlocalized name.
-
getConfigurableType
Description copied from class:ExtendedConfig
Return the configurable type for which this config holds data- Specified by:
getConfigurableType
in classExtendedConfig<BiomeConfig,
net.minecraft.world.level.biome.Biome> - Returns:
- the type of the configurable to where the config belongs
-
getRegistry
public net.minecraftforge.registries.IForgeRegistry<net.minecraft.world.level.biome.Biome> getRegistry()- Specified by:
getRegistry
in classExtendedConfigForge<BiomeConfig,
net.minecraft.world.level.biome.Biome> - Returns:
- The registry in which this should be registered.
-