#523: Added explicit API to stop a Jukebox from playing

By: Matthew Miller <mnmiller1@me.com>
This commit is contained in:
Bukkit/Spigot 2020-07-10 09:02:25 +10:00
parent 705628fb57
commit f0d2a47b7b

View File

@ -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.
* <p>