Class ClientboundCustomSoundPacket

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

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

    • LOCATION_ACCURACY

      public static final float LOCATION_ACCURACY
      See Also:
    • name

      private final ResourceLocation name
    • 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

    • ClientboundCustomSoundPacket

      public ClientboundCustomSoundPacket(ResourceLocation p_237699_, SoundSource p_237700_, Vec3 p_237701_, float p_237702_, float p_237703_, long p_237704_)
    • ClientboundCustomSoundPacket

      public ClientboundCustomSoundPacket(FriendlyByteBuf p_178839_)
  • Method Details