From 80ca94de60dc5f29d5b0b100520c658aae09d460 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Fri, 5 Nov 2021 21:02:12 +1100 Subject: [PATCH] SPIGOT-6436: Add Player#stopAllSounds By: Doc --- paper-api/src/main/java/org/bukkit/entity/Player.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/entity/Player.java b/paper-api/src/main/java/org/bukkit/entity/Player.java index e886e9706d..cd4599b0f2 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Player.java +++ b/paper-api/src/main/java/org/bukkit/entity/Player.java @@ -377,6 +377,11 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM */ public void stopSound(@NotNull String sound, @Nullable SoundCategory category); + /** + * Stop all sounds from playing. + */ + public void stopAllSounds(); + /** * Plays an effect to just this player. *