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
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
PlaySoundEvent.Record.Start
Fired when a record starts playing.static interface
PlaySoundEvent.Record.Stop
Fired when a record stops playing.-
Nested classes/interfaces inherited from interface org.spongepowered.api.event.sound.PlaySoundEvent
PlaySoundEvent.AtEntity, PlaySoundEvent.Broadcast, PlaySoundEvent.NoteBlock, PlaySoundEvent.Record
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Jukebox
jukebox()
Gets theJukebox
associated with this event.MusicDisc
recordType()
Gets theMusicDisc
associated with this event.-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
Methods inherited from interface org.spongepowered.api.event.sound.PlaySoundEvent
location, pitch, soundSource, soundType, volume
-
-