Class CapabilityConfig<T>
java.lang.Object
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<CapabilityConfig<T>,T>
org.cyclops.cyclopscore.config.extendedconfig.CapabilityConfig<T>
- All Implemented Interfaces:
Comparable<ExtendedConfig<CapabilityConfig<T>,
T>>
- Direct Known Subclasses:
FluidHandlerItemCapacityConfig
Config for capabilities.
- See Also:
-
Field Summary
Fields inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig
configProperties
-
Constructor Summary
ConstructorDescriptionCapabilityConfig
(ModBase mod, String namedId, Class<T> type) Make a new instance. -
Method Summary
Modifier and TypeMethodDescriptionReturn the configurable type for which this config holds dataGet the full unlocalized name for this configurable.Get the unlocalized name (must be unique!) for this configurable.getType()
Methods inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig
compareTo, downCast, getConfigPropertyPrefix, getInstance, getSubUniqueName, initializeInstance, onConfigPropertyReload, onForgeRegistered, onRegistered, save, showDoubleInitError
-
Constructor Details
-
CapabilityConfig
Make a new instance.- Parameters:
mod
- The modnamedId
- The unique name ID for the configurable.type
- The capability type.
-
-
Method Details
-
getTranslationKey
Description copied from class:ExtendedConfig
Get the unlocalized name (must be unique!) for this configurable.- Specified by:
getTranslationKey
in classExtendedConfig<CapabilityConfig<T>,
T> - Returns:
- The unlocalized name.
-
getFullTranslationKey
Description copied from class:ExtendedConfig
Get the full unlocalized name for this configurable.- Overrides:
getFullTranslationKey
in classExtendedConfig<CapabilityConfig<T>,
T> - 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<CapabilityConfig<T>,
T> - Returns:
- the type of the configurable to where the config belongs
-
getType
-