Interface PlaySoundEvent.AtEntity
- All Superinterfaces:
- Cancellable,- Event,- PlaySoundEvent
- Enclosing interface:
- PlaySoundEvent
Fired when a sound is played at a specific 
Entity- 
Nested Class SummaryNested classes/interfaces inherited from interface org.spongepowered.api.event.sound.PlaySoundEventPlaySoundEvent.AtEntity, PlaySoundEvent.Broadcast, PlaySoundEvent.NoteBlock, PlaySoundEvent.Record
- 
Method SummaryMethods inherited from interface org.spongepowered.api.event.CancellableisCancelled, setCancelledMethods inherited from interface org.spongepowered.api.event.sound.PlaySoundEventlocation, pitch, soundSource, soundType, volume
- 
Method Details- 
playerOptional<ServerPlayer> player()Gets theplayerthat this sound was played at, if the sound was played at a player.- Returns:
- The player, if applicable.
 
 
-