- All Superinterfaces:
public interface LocationalSoundPacket extends SoundPacket
The receiver of this event will hear the sound from the specified location. If the location is further away than the maximum voice distance, the receiving player won't actually hear the sound.
Nested Class SummaryModifier and TypeInterfaceDescription
static interfaceA builder to build a locational sound packet.
Methods inherited from interface de.maxhenkel.voicechat.api.packets.ConvertablePacket
entitySoundPacketBuilder, locationalSoundPacketBuilder, staticSoundPacketBuilder, toEntitySoundPacket, toLocationalSoundPacket, toStaticSoundPacket
Methods inherited from interface de.maxhenkel.voicechat.api.packets.SoundPacket
getCategory, getOpusEncodedData, getSender, getSequenceNumber
- the audio location
- the distance, the audio can be heard