mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-13 11:15:57 -07:00
@@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user