public static enum MusicTicker.MusicType extends java.lang.Enum<MusicTicker.MusicType>
Enum Constant and Description |
---|
CREATIVE |
CREDITS |
END |
END_BOSS |
GAME |
MENU |
NETHER |
Modifier and Type | Method and Description |
---|---|
int |
getMaxDelay() |
int |
getMinDelay() |
SoundEvent |
getMusicLocation() |
static MusicTicker.MusicType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MusicTicker.MusicType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MusicTicker.MusicType MENU
public static final MusicTicker.MusicType GAME
public static final MusicTicker.MusicType CREATIVE
public static final MusicTicker.MusicType CREDITS
public static final MusicTicker.MusicType NETHER
public static final MusicTicker.MusicType END_BOSS
public static final MusicTicker.MusicType END
public static MusicTicker.MusicType[] values()
for (MusicTicker.MusicType c : MusicTicker.MusicType.values()) System.out.println(c);
public static MusicTicker.MusicType 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 SoundEvent getMusicLocation()
public int getMinDelay()
public int getMaxDelay()