Package net.minecraftforge.fml.loading
Enum Class FMLConfig.ConfigValue
- All Implemented Interfaces:
Serializable
,Comparable<FMLConfig.ConfigValue>
,Constable
- Enclosing class:
- FMLConfig
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
buildConfigEntry
(com.electronwill.nightconfig.core.ConfigSpec spec, com.electronwill.nightconfig.core.CommentedConfig commentedConfig) private <T> T
getConfigValue
(com.electronwill.nightconfig.core.file.CommentedFileConfig config) <T> void
updateValue
(com.electronwill.nightconfig.core.file.CommentedFileConfig configData, T value) static FMLConfig.ConfigValue
Returns the enum constant of this class with the specified name.static FMLConfig.ConfigValue[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EARLY_WINDOW_CONTROL
-
MAX_THREADS
-
VERSION_CHECK
-
DEFAULT_CONFIG_PATH
-
DISABLE_OPTIMIZED_DFU
-
EARLY_WINDOW_PROVIDER
-
EARLY_WINDOW_WIDTH
-
EARLY_WINDOW_HEIGHT
-
EARLY_WINDOW_FBSCALE
-
EARLY_WINDOW_MAXIMIZED
-
EARLY_WINDOW_SKIP_GL_VERSIONS
-
EARLY_WINDOW_SQUIR
-
-
Field Details
-
entry
-
defaultValue
-
comment
-
entryFunction
-
-
Constructor Details
-
ConfigValue
-
ConfigValue
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
buildConfigEntry
void buildConfigEntry(com.electronwill.nightconfig.core.ConfigSpec spec, com.electronwill.nightconfig.core.CommentedConfig commentedConfig) -
getConfigValue
private <T> T getConfigValue(com.electronwill.nightconfig.core.file.CommentedFileConfig config) -
updateValue
public <T> void updateValue(com.electronwill.nightconfig.core.file.CommentedFileConfig configData, T value)
-