@Environment(value=CLIENT) public static enum Sound.RegistrationType extends Enum<Sound.RegistrationType>
| Enum Constant and Description |
|---|
FILE |
SOUND_EVENT |
| Modifier and Type | Method and Description |
|---|---|
static Sound.RegistrationType |
getByName(String string) |
static Sound.RegistrationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Sound.RegistrationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sound.RegistrationType FILE
public static final Sound.RegistrationType SOUND_EVENT
private final String name
public static Sound.RegistrationType[] values()
for (Sound.RegistrationType c : Sound.RegistrationType.values()) System.out.println(c);
public static Sound.RegistrationType 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 nullpublic static Sound.RegistrationType getByName(String string)