Class ExtendedConfig<C extends ExtendedConfig<C,I>,I>

java.lang.Object
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<C,I,ModBase<?>>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<C,I>
All Implemented Interfaces:
Comparable<org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<C,I,ModBase<?>>>
Direct Known Subclasses:
CapabilityConfig, DummyConfig, ExtendedConfigForge, FluidConfig

@Deprecated public abstract class ExtendedConfig<C extends ExtendedConfig<C,I>,I> extends org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<C,I,ModBase<?>>
Deprecated.
  • Constructor Details

    • ExtendedConfig

      public ExtendedConfig(ModBase<?> mod, String namedId, Function<C,? extends I> elementConstructor)
      Deprecated.
      Create a new config
      Parameters:
      mod - The mod instance.
      namedId - A unique name id
      elementConstructor - The element constructor.
  • Method Details

    • getConfigurableType

      public abstract ConfigurableType getConfigurableType()
      Deprecated.
      Specified by:
      getConfigurableType in class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<C extends ExtendedConfig<C,I>,I,ModBase<?>>
    • getMod

      public ModBase<?> getMod()
      Deprecated.
      Overrides:
      getMod in class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<C extends ExtendedConfig<C,I>,I,ModBase<?>>
    • getConfigPropertyPrefix

      public String getConfigPropertyPrefix(org.cyclops.cyclopscore.config.ConfigurablePropertyCommon annotation)
      Deprecated.
      Overrides:
      getConfigPropertyPrefix in class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<C extends ExtendedConfig<C,I>,I,ModBase<?>>
    • getConfigPropertyPrefixPublic

      public String getConfigPropertyPrefixPublic(ConfigurableProperty annotation)
      Deprecated.
    • getConfigPropertyPrefix

      protected String getConfigPropertyPrefix(ConfigurableProperty annotation)
      Deprecated.
      Parameters:
      annotation - The annotation to define the prefix for.
      Returns:
      The prefix that will be used inside the config file for ConfigurableProperty's.