mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-10 09:02:09 -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();
|
public boolean isPlaying();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Stops the jukebox playing without ejecting the record.
|
||||||
|
*/
|
||||||
|
public void stopPlaying();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Stops the jukebox playing and ejects the current record.
|
* Stops the jukebox playing and ejects the current record.
|
||||||
* <p>
|
* <p>
|
||||||
|
Reference in New Issue
Block a user