Class DataComponentConfig<T>

java.lang.Object
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<DataComponentConfig<T>,net.minecraft.core.component.DataComponentType<T>,ModBase<?>>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<DataComponentConfig<T>,net.minecraft.core.component.DataComponentType<T>>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigForge<DataComponentConfig<T>,net.minecraft.core.component.DataComponentType<T>>
org.cyclops.cyclopscore.config.extendedconfig.DataComponentConfig<T>
All Implemented Interfaces:
Comparable<org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<DataComponentConfig<T>,net.minecraft.core.component.DataComponentType<T>,ModBase<?>>>

@Deprecated public abstract class DataComponentConfig<T> extends ExtendedConfigForge<DataComponentConfig<T>,net.minecraft.core.component.DataComponentType<T>>
Deprecated.
Config for data component types.
See Also:
  • ExtendedConfigCommon
  • Constructor Details

    • DataComponentConfig

      public DataComponentConfig(ModBase<?> mod, String namedId, UnaryOperator<net.minecraft.core.component.DataComponentType.Builder<T>> builder)
      Deprecated.
  • Method Details

    • getTranslationKey

      public String getTranslationKey()
      Deprecated.
      Specified by:
      getTranslationKey in class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<DataComponentConfig<T>,net.minecraft.core.component.DataComponentType<T>,ModBase<?>>
    • getFullTranslationKey

      public String getFullTranslationKey()
      Deprecated.
      Overrides:
      getFullTranslationKey in class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<DataComponentConfig<T>,net.minecraft.core.component.DataComponentType<T>,ModBase<?>>
    • getConfigurableType

      public ConfigurableType getConfigurableType()
      Deprecated.
      Specified by:
      getConfigurableType in class ExtendedConfig<DataComponentConfig<T>,net.minecraft.core.component.DataComponentType<T>>
    • getRegistry

      public net.minecraft.core.Registry<net.minecraft.core.component.DataComponentType<?>> getRegistry()
      Deprecated.
      Specified by:
      getRegistry in class ExtendedConfigForge<DataComponentConfig<T>,net.minecraft.core.component.DataComponentType<T>>
      Returns:
      The registry in which this should be registered.