public static enum EnumWrappers.SoundCategory extends Enum<EnumWrappers.SoundCategory>
| Enum Constant and Description |
|---|
AMBIENT |
BLOCKS |
HOSTILE |
MASTER |
MUSIC |
NEUTRAL |
PLAYERS |
RECORDS |
VOICE |
WEATHER |
| Modifier and Type | Method and Description |
|---|---|
static EnumWrappers.SoundCategory |
getByKey(String key) |
String |
getKey() |
static EnumWrappers.SoundCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumWrappers.SoundCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumWrappers.SoundCategory MASTER
public static final EnumWrappers.SoundCategory MUSIC
public static final EnumWrappers.SoundCategory RECORDS
public static final EnumWrappers.SoundCategory WEATHER
public static final EnumWrappers.SoundCategory BLOCKS
public static final EnumWrappers.SoundCategory HOSTILE
public static final EnumWrappers.SoundCategory NEUTRAL
public static final EnumWrappers.SoundCategory PLAYERS
public static final EnumWrappers.SoundCategory AMBIENT
public static final EnumWrappers.SoundCategory VOICE
public static EnumWrappers.SoundCategory[] values()
for (EnumWrappers.SoundCategory c : EnumWrappers.SoundCategory.values()) System.out.println(c);
public static EnumWrappers.SoundCategory 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 String getKey()
public static EnumWrappers.SoundCategory getByKey(String key)
Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.