public enum OreRegistryState extends java.lang.Enum<OreRegistryState>
Get the current state from IResourceRegistry.getState()
| Enum Constant and Description |
|---|
ACTIVE
This state is active if in the pre init phase of fml.
|
CHOOSE
This state is active if the mod currently chooses the products.
|
INACTIVE
This state is always active after the pre init phase of fml except the mod chooses currently his products or its currently synchronises with the server.
|
SYNCHRONIZE
This state is active if the client currently synchronises with the server.
|
| Modifier and Type | Method and Description |
|---|---|
static OreRegistryState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OreRegistryState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OreRegistryState ACTIVE
public static final OreRegistryState INACTIVE
public static final OreRegistryState SYNCHRONIZE
public static final OreRegistryState CHOOSE
public static OreRegistryState[] values()
for (OreRegistryState c : OreRegistryState.values()) System.out.println(c);
public static OreRegistryState 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 null