Class CreativeModeTabConfig
java.lang.Object
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<CreativeModeTabConfig,net.minecraft.world.item.CreativeModeTab>
org.cyclops.cyclopscore.config.extendedconfig.CreativeModeTabConfig
- All Implemented Interfaces:
Comparable<ExtendedConfig<CreativeModeTabConfig,
net.minecraft.world.item.CreativeModeTab>>
public class CreativeModeTabConfig
extends ExtendedConfig<CreativeModeTabConfig,net.minecraft.world.item.CreativeModeTab>
Config for creative mode tabs.
- See Also:
-
Field Summary
Fields inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig
configProperties
-
Constructor Summary
ConstructorDescriptionCreativeModeTabConfig
(ModBase mod, String namedId, Function<CreativeModeTabConfig, net.minecraft.world.item.CreativeModeTab> 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
-
CreativeModeTabConfig
public CreativeModeTabConfig(ModBase mod, String namedId, Function<CreativeModeTabConfig, net.minecraft.world.item.CreativeModeTab> elementConstructor)
-
-
Method Details
-
getTranslationKey
Description copied from class:ExtendedConfig
Get the unlocalized name (must be unique!) for this configurable.- Specified by:
getTranslationKey
in classExtendedConfig<CreativeModeTabConfig,
net.minecraft.world.item.CreativeModeTab> - 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<CreativeModeTabConfig,
net.minecraft.world.item.CreativeModeTab> - Returns:
- the type of the configurable to where the config belongs
-