Interface PlaySoundEvent.Record

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

public static interface PlaySoundEvent.Record 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