24 lines
400 B
Java
24 lines
400 B
Java
package net.minecraft.sounds;
|
|
|
|
public enum SoundSource {
|
|
MASTER("master"),
|
|
MUSIC("music"),
|
|
RECORDS("record"),
|
|
WEATHER("weather"),
|
|
BLOCKS("block"),
|
|
HOSTILE("hostile"),
|
|
NEUTRAL("neutral"),
|
|
PLAYERS("player"),
|
|
AMBIENT("ambient"),
|
|
VOICE("voice");
|
|
|
|
private final String name;
|
|
|
|
private SoundSource(final String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public String getName() {
|
|
return this.name;
|
|
}
|
|
}
|