public enum RegistryAttribute extends Enum<RegistryAttribute>
Enum Constant and Description |
---|
MODDED
Registry has been modded.
|
PERSISTED
Registry will be saved to disk when modded.
|
SYNCED
Registry will be synced to the client when modded.
|
Modifier and Type | Method and Description |
---|---|
static RegistryAttribute |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegistryAttribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegistryAttribute PERSISTED
public static final RegistryAttribute SYNCED
public static final RegistryAttribute MODDED
public static RegistryAttribute[] values()
for (RegistryAttribute c : RegistryAttribute.values()) System.out.println(c);
public static RegistryAttribute valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null