public static enum ModConfig.Type extends java.lang.Enum<ModConfig.Type>
Enum Constant and Description |
---|
CLIENT
Client config is for configuration affecting the ONLY client state such as graphical options.
|
COMMON
Common mod config for configuration that needs to be loaded on both environments.
|
SERVER
Server type config is configuration that is associated with a server instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
extension() |
static ModConfig.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModConfig.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModConfig.Type COMMON
public static final ModConfig.Type CLIENT
public static final ModConfig.Type SERVER
public static ModConfig.Type[] values()
for (ModConfig.Type c : ModConfig.Type.values()) System.out.println(c);
public static ModConfig.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String extension()