Interface PlaySoundEvent.FromJukebox

All Superinterfaces:
Cancellable, Event, PlaySoundEvent
All Known Subinterfaces:
PlaySoundEvent.FromJukebox.Start, PlaySoundEvent.FromJukebox.Stop
Enclosing interface:
PlaySoundEvent

public static interface PlaySoundEvent.FromJukebox extends PlaySoundEvent
Fired when a record is inserted into a Jukebox
  • Method Details

    • jukebox

      Jukebox jukebox()
      Gets the Jukebox associated with this event.
      Returns:
      The jukebox tile
    • recordType

      MusicDisc recordType()
      Gets the MusicDisc associated with this event.
      Returns:
      The record type