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 interfacePlaySoundEvent.Record.StartFired when a record starts playing.static interfacePlaySoundEvent.Record.StopFired 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 Jukeboxjukebox()Gets theJukeboxassociated with this event.MusicDiscrecordType()Gets theMusicDiscassociated 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
-
-