mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 05:47:45 +01:00
#523: Added explicit API to stop a Jukebox from playing
By: Matthew Miller <mnmiller1@me.com>
This commit is contained in:
parent
705628fb57
commit
f0d2a47b7b
@ -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…
Reference in New Issue
Block a user