From f0d2a47b7b0d0e8dc94dc3396319035003963c9b Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Fri, 10 Jul 2020 09:02:25 +1000 Subject: [PATCH] #523: Added explicit API to stop a Jukebox from playing By: Matthew Miller --- paper-api/src/main/java/org/bukkit/block/Jukebox.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/block/Jukebox.java b/paper-api/src/main/java/org/bukkit/block/Jukebox.java index 363294cff2..321e5e034a 100644 --- a/paper-api/src/main/java/org/bukkit/block/Jukebox.java +++ b/paper-api/src/main/java/org/bukkit/block/Jukebox.java @@ -47,6 +47,11 @@ public interface Jukebox extends TileState { */ public boolean isPlaying(); + /** + * Stops the jukebox playing without ejecting the record. + */ + public void stopPlaying(); + /** * Stops the jukebox playing and ejects the current record. *