mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
Add Player.stopSound
By: md_5 <git@md-5.net>
This commit is contained in:
parent
f5378fcb05
commit
09cb84067f
1 changed files with 14 additions and 0 deletions
|
@ -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.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue