Interface Source
- All Known Implementing Classes:
RadioSource
public interface Source
Contains the audio data for radio transmissions through a
For messages that contain sounds instead of raw data, this will contain their identifiers via string.
Message. This can be
shared across different messages, and encoded data will be decoded on demand.
For messages that contain sounds instead of raw data, this will contain their identifiers via string.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]getData()short[]getDecoded(UUID id) getSound()net.minecraft.sounds.SoundEvent
-
Method Details
-
getData
byte[] getData() -
getDecoded
-
getSoundEvent
net.minecraft.sounds.SoundEvent getSoundEvent() -
getSound
String getSound()
-