Class ClientboundSoundEntityPacket

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

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

    • sound

      private final SoundEvent sound
    • source

      private final SoundSource source
    • id

      private final int id
    • volume

      private final float volume
    • pitch

      private final float pitch
    • seed

      private final long seed
  • Constructor Details

    • ClientboundSoundEntityPacket

      public ClientboundSoundEntityPacket(SoundEvent p_237831_, SoundSource p_237832_, Entity p_237833_, float p_237834_, float p_237835_, long p_237836_)
    • ClientboundSoundEntityPacket

      public ClientboundSoundEntityPacket(FriendlyByteBuf p_179419_)
  • Method Details