mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-19 14:51:27 +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();
|
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>
|
||||||
|
Loading…
Reference in New Issue
Block a user