Interface Source

All Known Implementing Classes:
RadioSource

public interface Source
Contains the audio data for radio transmissions through a 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 Details

    • getData

      byte[] getData()
    • getDecoded

      short[] getDecoded(UUID id)
    • getSoundEvent

      net.minecraft.sounds.SoundEvent getSoundEvent()
    • getSound

      String getSound()