Interface LocationalSoundPacket.Builder<T extends LocationalSoundPacket.Builder<T>>
- Type Parameters:
T
- the builder itself
- All Superinterfaces:
SoundPacket.Builder<T,
LocationalSoundPacket>
- Enclosing interface:
- LocationalSoundPacket
public static interface LocationalSoundPacket.Builder<T extends LocationalSoundPacket.Builder<T>>
extends SoundPacket.Builder<T,LocationalSoundPacket>
A builder to build a locational sound packet.
NOTE: Some values are required to be set.
-
Method Summary
Methods inherited from interface de.maxhenkel.voicechat.api.packets.SoundPacket.Builder
build, category, channelId, opusEncodedData
-
Method Details
-
position
This is required to be set!- Parameters:
position
- the position of the sound- Returns:
- the builder
-
distance
- Parameters:
distance
- the distance, this packet can be heard- Returns:
- the builder
-