public enum SoundCategory extends java.lang.Enum<SoundCategory>
Enum Constant and Description |
---|
AMBIENT |
ANIMALS |
BLOCKS |
MASTER |
MOBS |
MUSIC |
PLAYERS |
RECORDS |
WEATHER |
Modifier and Type | Method and Description |
---|---|
static SoundCategory |
func_147154_a(java.lang.String p_147154_0_) |
int |
getCategoryId() |
java.lang.String |
getCategoryName() |
static SoundCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoundCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoundCategory MASTER
public static final SoundCategory MUSIC
public static final SoundCategory RECORDS
public static final SoundCategory WEATHER
public static final SoundCategory BLOCKS
public static final SoundCategory MOBS
public static final SoundCategory ANIMALS
public static final SoundCategory PLAYERS
public static final SoundCategory AMBIENT
public static SoundCategory[] values()
for (SoundCategory c : SoundCategory.values()) System.out.println(c);
public static SoundCategory 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 getCategoryName()
public int getCategoryId()
public static SoundCategory func_147154_a(java.lang.String p_147154_0_)