mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
#523: Added explicit API to stop a Jukebox from playing
This commit is contained in:
parent
71171d3858
commit
d0d2ac0a6a
1 changed files with 5 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue