Class BiomeModifierConfig<T extends net.minecraftforge.common.world.BiomeModifier>
java.lang.Object
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<C,I>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigForge<BiomeModifierConfig<T>,com.mojang.serialization.Codec<T>>
org.cyclops.cyclopscore.config.extendedconfig.BiomeModifierConfig<T>
- All Implemented Interfaces:
Comparable<ExtendedConfig<BiomeModifierConfig<T>,
com.mojang.serialization.Codec<T>>>
public abstract class BiomeModifierConfig<T extends net.minecraftforge.common.world.BiomeModifier>
extends ExtendedConfigForge<BiomeModifierConfig<T>,com.mojang.serialization.Codec<T>>
Config for biome modifiers.
- See Also:
-
Field Summary
Fields inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig
configProperties
-
Constructor Summary
ConstructorDescriptionBiomeModifierConfig
(ModBase mod, String namedId, Function<BiomeModifierConfig<T>, com.mojang.serialization.Codec<T>> elementConstructor) -
Method Summary
Modifier and TypeMethodDescriptionReturn the configurable type for which this config holds datanet.minecraftforge.registries.IForgeRegistry<com.mojang.serialization.Codec<? extends net.minecraftforge.common.world.BiomeModifier>>
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
-
BiomeModifierConfig
-
-
Method Details
-
getTranslationKey
Description copied from class:ExtendedConfig
Get the unlocalized name (must be unique!) for this configurable.- Specified by:
getTranslationKey
in classExtendedConfig<BiomeModifierConfig<T extends net.minecraftforge.common.world.BiomeModifier>,
com.mojang.serialization.Codec<T extends net.minecraftforge.common.world.BiomeModifier>> - 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<BiomeModifierConfig<T extends net.minecraftforge.common.world.BiomeModifier>,
com.mojang.serialization.Codec<T extends net.minecraftforge.common.world.BiomeModifier>> - Returns:
- the type of the configurable to where the config belongs
-
getRegistry
public net.minecraftforge.registries.IForgeRegistry<com.mojang.serialization.Codec<? extends net.minecraftforge.common.world.BiomeModifier>> getRegistry()- Specified by:
getRegistry
in classExtendedConfigForge<BiomeModifierConfig<T extends net.minecraftforge.common.world.BiomeModifier>,
com.mojang.serialization.Codec<T extends net.minecraftforge.common.world.BiomeModifier>> - Returns:
- The registry in which this should be registered.
-