mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 08:32:07 -07:00
#523: Added explicit API to stop a Jukebox from playing
By: Matthew Miller <mnmiller1@me.com>
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user