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
ConstructorsConstructorDescriptionBiomeConfig(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
getResourceKeyMethods 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:ExtendedConfigGet the unlocalized name (must be unique!) for this configurable.- Specified by:
getTranslationKeyin classExtendedConfig<BiomeConfig,net.minecraft.world.level.biome.Biome> - Returns:
- The unlocalized name.
-
getConfigurableType
Description copied from class:ExtendedConfigReturn the configurable type for which this config holds data- Specified by:
getConfigurableTypein 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:
getRegistryin classExtendedConfigForge<BiomeConfig,net.minecraft.world.level.biome.Biome> - Returns:
- The registry in which this should be registered.
-