Interface ClientEntityAudioChannel
- All Superinterfaces:
ClientAudioChannel
-
Method Summary
Modifier and TypeMethodDescriptionfloatbooleanvoidsetDistance(float distance) voidsetWhispering(boolean whispering) Methods inherited from interface ClientAudioChannel
getCategory, getId, play, setCategory
-
Method Details
-
getEntityId
UUID getEntityId()- Returns:
- the UUID of the entity
-
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
-