java.io.Serializable
, java.lang.Comparable<SoundCategory>
public enum SoundCategory extends java.lang.Enum<SoundCategory>
Enum Constant | Description |
---|---|
AMBIENT |
|
BLOCKS |
|
HOSTILE |
|
MASTER |
|
MUSIC |
|
NEUTRAL |
|
PLAYERS |
|
RECORDS |
|
VOICE |
|
WEATHER |
Modifier and Type | Method | Description |
---|---|---|
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 HOSTILE
public static final SoundCategory NEUTRAL
public static final SoundCategory PLAYERS
public static final SoundCategory AMBIENT
public static final SoundCategory VOICE
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 nullCopyright © 2018. All rights reserved.