Interface StopSoundPacketView

All Superinterfaces:
PacketView

public interface StopSoundPacketView extends PacketView
Lazy copy-on-write view of a clientbound stop-sound packet.
  • Method Details

    • soundKey

      String soundKey()
      Returns:
      sound key, or null when all sounds from the selected source are stopped
    • source

      Returns:
      source, or null when every source is selected
    • soundKey

      void soundKey(String soundKey)
    • source

      void source(NativeSoundSource source)