Interface EntitySoundPacket.Builder<T extends EntitySoundPacket.Builder<T>>
- Type Parameters:
T
- the builder itself
- All Superinterfaces:
SoundPacket.Builder<T,
EntitySoundPacket>
- Enclosing interface:
- EntitySoundPacket
public static interface EntitySoundPacket.Builder<T extends EntitySoundPacket.Builder<T>>
extends SoundPacket.Builder<T,EntitySoundPacket>
A builder to build an entity sound packet.
NOTE: Some values are required to be set.
-
Method Summary
Modifier and TypeMethodDescriptiondistance
(float distance) entityUuid
(UUID entityUuid) This is required to be set!whispering
(boolean whispering) Methods inherited from interface de.maxhenkel.voicechat.api.packets.SoundPacket.Builder
build, category, channelId, opusEncodedData
-
Method Details
-
entityUuid
This is required to be set!- Parameters:
entityUuid
- the UUID of the entity- Returns:
- the builder
-
whispering
- Parameters:
whispering
- if the entity should be whispering- Returns:
- the builder
-
distance
- Parameters:
distance
- the distance, this packet can be heard- Returns:
- the builder
-