net.minecraft.network.protocol.game

public class ClientboundSoundPacket

implements Packet<ClientGamePacketListener>

qm
net.minecraft.network.protocol.game.ClientboundSoundPacket
net.minecraft.class_2767
net.minecraft.network.packet.s2c.play.PlaySoundS2CPacket
net.minecraft.network.play.server.SPlaySoundEffectPacket
net.minecraft.server.v1_16_R1.PacketPlayOutNamedSoundEffect

Field summary

Modifier and TypeField
private SoundEvent
a
sound
field_12661
sound
field_186979_a
private SoundSource
b
source
field_12660
category
field_186980_b
private int
c
x
field_12659
fixedX
field_149217_b
private int
d
y
field_12658
fixedY
field_149218_c
private int
e
z
field_12657
fixedZ
field_149215_d
private float
f
volume
field_12656
volume
field_149216_e
private float
g
pitch
field_12662
pitch
field_149214_f

Constructor summary

ModifierConstructor
public ()
public (SoundEvent sound, SoundSource category, double x, double y, double z, float volume, float pitch)

Method summary

Modifier and TypeMethod
public void
a(mg arg0)
read(FriendlyByteBuf arg0)
method_11053(class_2540 arg0)
read(PacketByteBuf arg0)
func_148837_a(PacketBuffer arg0)
public void
b(mg arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
func_148840_b(PacketBuffer arg0)
public void
a(nl arg0)
handle(ClientGamePacketListener arg0)
method_11895(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
func_148833_a(IClientPlayNetHandler arg0)
public SoundEvent
b()
getSound()
method_11894()
getSound()
func_186978_a()
public SoundSource
c()
getSource()
method_11888()
getCategory()
func_186977_b()
public double
d()
getX()
method_11890()
getX()
func_149207_d()
public double
e()
getY()
method_11889()
getY()
func_149211_e()
public double
f()
getZ()
method_11893()
getZ()
func_149210_f()
public float
g()
getVolume()
method_11891()
getVolume()
func_149208_g()
public float
h()
getPitch()
method_11892()
getPitch()
func_149209_h()