mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
Add stopSound for specific sound category
This commit is contained in:
parent
7512561bdb
commit
c1a8e12c9c
1 changed files with 16 additions and 0 deletions
|
@ -284,6 +284,22 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
|
|||
*/
|
||||
public void stopSound(String sound);
|
||||
|
||||
/**
|
||||
* Stop the specified sound from playing.
|
||||
*
|
||||
* @param sound the sound to stop
|
||||
* @param category the category of the sound
|
||||
*/
|
||||
public void stopSound(Sound sound, SoundCategory category);
|
||||
|
||||
/**
|
||||
* Stop the specified sound from playing.
|
||||
*
|
||||
* @param sound the sound to stop
|
||||
* @param category the category of the sound
|
||||
*/
|
||||
public void stopSound(String sound, SoundCategory category);
|
||||
|
||||
/**
|
||||
* Plays an effect to just this player.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue