net.minecraft.network.protocol.game

public class ClientboundSoundPacket

implements Packet<ClientGamePacketListener>

acs
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 float
a
LOCATION_ACCURACY
field_33353
COORDINATE_SCALE
f_179420_
private final Holder<SoundEvent>
b
sound
field_12661
sound
f_133433_
private final SoundSource
c
source
field_12660
category
f_133434_
private final int
d
x
field_12659
fixedX
f_133435_
private final int
e
y
field_12658
fixedY
f_133436_
private final int
f
z
field_12657
fixedZ
f_133437_
private final float
g
volume
field_12656
volume
f_133438_
private final float
h
pitch
field_12662
pitch
f_133439_
private final long
i
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)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(ui arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public Holder<SoundEvent>
a()
getSound()
method_11894()
getSound()
m_263229_()
public SoundSource
d()
getSource()
method_11888()
getCategory()
m_133458_()
public double
e()
getX()
method_11890()
getX()
m_133459_()
public double
f()
getY()
method_11889()
getY()
m_133460_()
public double
g()
getZ()
method_11893()
getZ()
m_133461_()
public float
h()
getVolume()
method_11891()
getVolume()
m_133462_()
public float
i()
getPitch()
method_11892()
getPitch()
m_133463_()
public long
j()
getSeed()
method_43236()
getSeed()
m_237848_()
public void
a(za arg0)
handle(ClientGamePacketListener arg0)
method_11895(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)