net.minecraft.network.protocol.game

public class ClientboundSoundPacket

implements Packet<ClientGamePacketListener>

wy
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 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 (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(qx arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public SoundEvent
b()
getSound()
method_11894()
getSound()
m_133455_()
public SoundSource
c()
getSource()
method_11888()
getCategory()
m_133458_()
public double
d()
getX()
method_11890()
getX()
m_133459_()
public double
e()
getY()
method_11889()
getY()
m_133460_()
public double
f()
getZ()
method_11893()
getZ()
m_133461_()
public float
g()
getVolume()
method_11891()
getVolume()
m_133462_()
public float
h()
getPitch()
method_11892()
getPitch()
m_133463_()
public long
i()
getSeed()
method_43236()
getSeed()
m_237848_()
public void
a(tf arg0)
handle(ClientGamePacketListener arg0)
method_11895(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)