Interface ClientReceiveSoundEvent.LocationalSound
- All Superinterfaces:
ClientEvent
,ClientReceiveSoundEvent
,Event
- Enclosing interface:
ClientReceiveSoundEvent
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.maxhenkel.voicechat.api.events.ClientReceiveSoundEvent
ClientReceiveSoundEvent.EntitySound, ClientReceiveSoundEvent.LocationalSound, ClientReceiveSoundEvent.StaticSound
-
Method Summary
Methods inherited from interface de.maxhenkel.voicechat.api.events.ClientEvent
getVoicechat
Methods inherited from interface de.maxhenkel.voicechat.api.events.ClientReceiveSoundEvent
getId, getRawAudio, setRawAudio
Methods inherited from interface de.maxhenkel.voicechat.api.events.Event
cancel, isCancellable, isCancelled
-
Method Details
-
getPosition
Position getPosition()- Returns:
- the position of the sound
-
getDistance
float getDistance()- Returns:
- the distance, the audio can be heard
-