geforkt von Mirrors/Paper
Add Player.stopSound
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
f5378fcb05
Commit
09cb84067f
@ -241,6 +241,20 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
|
|||||||
*/
|
*/
|
||||||
public void playSound(Location location, String sound, float volume, float pitch);
|
public void playSound(Location location, String sound, float volume, float pitch);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Stop the specified sound from playing.
|
||||||
|
*
|
||||||
|
* @param sound the sound to stop
|
||||||
|
*/
|
||||||
|
public void stopSound(Sound sound);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Stop the specified sound from playing.
|
||||||
|
*
|
||||||
|
* @param sound the sound to stop
|
||||||
|
*/
|
||||||
|
public void stopSound(String sound);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Plays an effect to just this player.
|
* Plays an effect to just this player.
|
||||||
*
|
*
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren