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
  • Constructor Details

    • ClientboundSoundPacket

      public ClientboundSoundPacket(SoundEvent p_133442_, SoundSource p_133443_, double p_133444_, double p_133445_, double p_133446_, float p_133447_, float p_133448_)
    • ClientboundSoundPacket

      public ClientboundSoundPacket(FriendlyByteBuf p_179422_)
  • Method Details