Interface ClientEntityAudioChannel
- All Superinterfaces:
ClientAudioChannel
-
Method Summary
Modifier and TypeMethodDescriptionfloat
boolean
void
setDistance
(float distance) void
setWhispering
(boolean whispering) Methods inherited from interface de.maxhenkel.voicechat.api.audiochannel.ClientAudioChannel
getCategory, getId, play, setCategory
-
Method Details
-
setWhispering
void setWhispering(boolean whispering) - Parameters:
whispering
- if the entity should whisper
-
isWhispering
boolean isWhispering()- Returns:
- if the entity is whispering
-
getDistance
float getDistance()- Returns:
- the distance, the audio can be heard
-
setDistance
void setDistance(float distance) - Parameters:
distance
- the distance, the audio can be heard
-