Class WorldStructureConfig<S extends net.minecraft.world.level.levelgen.structure.Structure>
java.lang.Object
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<WorldStructureConfig<S>,net.minecraft.world.level.levelgen.structure.StructureType<S>>
org.cyclops.cyclopscore.config.extendedconfig.WorldStructureConfig<S>
- All Implemented Interfaces:
Comparable<ExtendedConfig<WorldStructureConfig<S>,
net.minecraft.world.level.levelgen.structure.StructureType<S>>>
public abstract class WorldStructureConfig<S extends net.minecraft.world.level.levelgen.structure.Structure>
extends ExtendedConfig<WorldStructureConfig<S>,net.minecraft.world.level.levelgen.structure.StructureType<S>>
Config for world structures.
- See Also:
-
Field Summary
Fields inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig
configProperties
-
Constructor Summary
ConstructorDescriptionWorldStructureConfig
(ModBase mod, String namedId, Function<WorldStructureConfig<S>, com.mojang.serialization.Codec<S>> elementConstructor) -
Method Summary
Modifier and TypeMethodDescriptionReturn the configurable type for which this config holds dataGet the unlocalized name (must be unique!) for this configurable.Methods inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig
compareTo, downCast, getConfigPropertyPrefix, getFullTranslationKey, getInstance, getSubUniqueName, initializeInstance, onConfigPropertyReload, onForgeRegistered, onRegistered, save, showDoubleInitError
-
Constructor Details
-
WorldStructureConfig
-
-
Method Details
-
getTranslationKey
Description copied from class:ExtendedConfig
Get the unlocalized name (must be unique!) for this configurable.- Specified by:
getTranslationKey
in classExtendedConfig<WorldStructureConfig<S extends net.minecraft.world.level.levelgen.structure.Structure>,
net.minecraft.world.level.levelgen.structure.StructureType<S extends net.minecraft.world.level.levelgen.structure.Structure>> - 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<WorldStructureConfig<S extends net.minecraft.world.level.levelgen.structure.Structure>,
net.minecraft.world.level.levelgen.structure.StructureType<S extends net.minecraft.world.level.levelgen.structure.Structure>> - Returns:
- the type of the configurable to where the config belongs
-