net.minecraft.network.protocol.game

public class ClientboundSoundPacket

implements Packet<ClientGamePacketListener>

agd
net.minecraft.network.protocol.game.ClientboundSoundPacket
net.minecraft.class_2767
net.minecraft.network.packet.s2c.play.PlaySoundS2CPacket
net.minecraft.src.C_5130_
net.minecraft.network.protocol.game.PacketPlayOutNamedSoundEffect

Field summary

Modifier and TypeField
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundSoundPacket>
a
STREAM_CODEC
field_47995
CODEC
f_314253_
public static final float
b
LOCATION_ACCURACY
field_33353
COORDINATE_SCALE
f_179420_
private final Holder<SoundEvent>
c
sound
field_12661
sound
f_133433_
private final SoundSource
d
source
field_12660
category
f_133434_
private final int
e
x
field_12659
fixedX
f_133435_
private final int
f
y
field_12658
fixedY
f_133436_
private final int
g
z
field_12657
fixedZ
f_133437_
private final float
h
volume
field_12656
volume
f_133438_
private final float
i
pitch
field_12662
pitch
f_133439_
private final long
j
seed
field_38820
seed
f_237838_

Constructor summary

ModifierConstructor
public (Holder<SoundEvent> sound, SoundSource category, double x, double y, double z, float volume, float pitch, long seed)
private (RegistryFriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(xa arg0)
write(RegistryFriendlyByteBuf arg0)
method_55942(class_9129 arg0)
write(RegistryByteBuf buf)
m_133456_(C_313350_ arg0)
public PacketType<ClientboundSoundPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(aci arg0)
handle(ClientGamePacketListener arg0)
method_11895(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public Holder<SoundEvent>
b()
getSound()
method_11894()
getSound()
m_263229_()
public SoundSource
e()
getSource()
method_11888()
getCategory()
m_133458_()
public double
f()
getX()
method_11890()
getX()
m_133459_()
public double
g()
getY()
method_11889()
getY()
m_133460_()
public double
h()
getZ()
method_11893()
getZ()
m_133461_()
public float
i()
getVolume()
method_11891()
getVolume()
m_133462_()
public float
j()
getPitch()
method_11892()
getPitch()
m_133463_()
public long
k()
getSeed()
method_43236()
getSeed()
m_237848_()