-
Nested Class Summary
Nested Classes
static interface
A builder to build a sound packet.
-
Method Summary
-
Method Details
-
getChannelId
- Returns:
- the channel ID of the sound packet
-
getSender
- Returns:
- the sender of this packet - doesn't necessarily need to be a players UUID
-
getOpusEncodedData
byte[] getOpusEncodedData()
- Returns:
- the opus encoded audio data
-
getSequenceNumber
long getSequenceNumber()
- Returns:
- the sequence number of the packet
-
getCategory
@Nullable
String getCategory()
- Returns:
- the category ID of the sound packet