Class ClientboundSoundPacket

java.lang.Object
net.minecraft.network.protocol.game.ClientboundSoundPacket
All Implemented Interfaces:
Packet<ClientGamePacketListener>

public class ClientboundSoundPacket extends Object implements Packet<ClientGamePacketListener>
  • Field Details

    • LOCATION_ACCURACY

      public static final float LOCATION_ACCURACY
      See Also:
    • sound

      private final SoundEvent sound
    • source

      private final SoundSource source
    • x

      private final int x
    • y

      private final int y
    • z

      private final int z
    • volume

      private final float volume
    • pitch

      private final float pitch
    • seed

      private final long seed
  • Constructor Details

    • ClientboundSoundPacket

      public ClientboundSoundPacket(SoundEvent p_237840_, SoundSource p_237841_, double p_237842_, double p_237843_, double p_237844_, float p_237845_, float p_237846_, long p_237847_)
    • ClientboundSoundPacket

      public ClientboundSoundPacket(FriendlyByteBuf p_179422_)
  • Method Details