public static enum RegistryEvent.Type extends Enum<RegistryEvent.Type>
| Enum Constant and Description |
|---|
ADDED
An Event which informs that an entry has been added
|
REMOVED
An Event which informs that an entry has been removed
|
REPLACED
An Event which informs that an entry has been replaced
|
| Modifier and Type | Method and Description |
|---|---|
static RegistryEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegistryEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegistryEvent.Type ADDED
public static final RegistryEvent.Type REMOVED
public static final RegistryEvent.Type REPLACED
public static RegistryEvent.Type[] values()
for (RegistryEvent.Type c : RegistryEvent.Type.values()) System.out.println(c);
public static RegistryEvent.Type 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 nullCopyright © 2022. All rights reserved.