Changed sound playing to effect dispatching, since these seem more like more like encompassing effect than mere sounds.
By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
parent
db11d49745
commit
e471f45bae
3 changed files with 40 additions and 37 deletions
|
@ -1,25 +0,0 @@
|
|||
package org.bukkit;
|
||||
|
||||
/**
|
||||
* A list of sounds that the server is able to send to players.
|
||||
*/
|
||||
public enum Sound {
|
||||
BOW_FIRE(1002),
|
||||
CLICK1(1001),
|
||||
CLICK2(1000),
|
||||
DOOR_SOUND(1003),
|
||||
EXTINGUISH(1004),
|
||||
RECORD_PLAY(1005),
|
||||
SMOKE(2000),
|
||||
STEP_SOUND(2001);
|
||||
private final int soundIdentifier;
|
||||
|
||||
Sound(int soundIdentifier) {
|
||||
this.soundIdentifier = soundIdentifier;
|
||||
}
|
||||
|
||||
public int getSoundIdentifier() {
|
||||
return this.soundIdentifier;
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue