Class WorldFeatureConfig

java.lang.Object
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<C,I>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigForge<WorldFeatureConfig,net.minecraft.world.level.levelgen.feature.Feature<?>>
org.cyclops.cyclopscore.config.extendedconfig.WorldFeatureConfig
All Implemented Interfaces:
Comparable<ExtendedConfig<WorldFeatureConfig,net.minecraft.world.level.levelgen.feature.Feature<?>>>

public abstract class WorldFeatureConfig extends ExtendedConfigForge<WorldFeatureConfig,net.minecraft.world.level.levelgen.feature.Feature<?>>
Config for world features.
See Also:
  • Constructor Details

  • Method Details

    • getTranslationKey

      public String getTranslationKey()
      Description copied from class: ExtendedConfig
      Get the unlocalized name (must be unique!) for this configurable.
      Specified by:
      getTranslationKey in class ExtendedConfig<WorldFeatureConfig,net.minecraft.world.level.levelgen.feature.Feature<?>>
      Returns:
      The unlocalized name.
    • getConfigurableType

      public ConfigurableType getConfigurableType()
      Description copied from class: ExtendedConfig
      Return the configurable type for which this config holds data
      Specified by:
      getConfigurableType in class ExtendedConfig<WorldFeatureConfig,net.minecraft.world.level.levelgen.feature.Feature<?>>
      Returns:
      the type of the configurable to where the config belongs
    • getRegistry

      public net.minecraft.core.Registry<? super net.minecraft.world.level.levelgen.feature.Feature<?>> getRegistry()
      Specified by:
      getRegistry in class ExtendedConfigForge<WorldFeatureConfig,net.minecraft.world.level.levelgen.feature.Feature<?>>
      Returns:
      The registry in which this should be registered.