net.minecraft.network.protocol.game

public class ClientboundCustomSoundPacket

implements Packet<ClientGamePacketListener>

pl
net.minecraft.network.protocol.game.ClientboundCustomSoundPacket
net.minecraft.class_2660
net.minecraft.network.packet.s2c.play.PlaySoundIdS2CPacket
net.minecraft.network.play.server.SPlaySoundPacket
net.minecraft.server.v1_16_R3.PacketPlayOutCustomSoundEffect

Field summary

Modifier and TypeField
private ResourceLocation
a
name
field_12170
id
field_149219_a
private SoundSource
b
source
field_12171
category
field_186933_b
private int
c
x
field_12169
fixedX
field_186934_c
private int
d
y
field_12168
fixedY
field_186935_d
private int
e
z
field_12167
fixedZ
field_186936_e
private float
f
volume
field_12166
volume
field_186937_f
private float
g
pitch
field_12172
pitch
field_186938_g

Constructor summary

ModifierConstructor
public ()
public (ResourceLocation sound, SoundSource category, Vec3 pos, float volume, float pitch)

Method summary

Modifier and TypeMethod
public void
a(nf arg0)
read(FriendlyByteBuf arg0)
method_11053(class_2540 arg0)
read(PacketByteBuf arg0)
func_148837_a(PacketBuffer arg0)
public void
b(nf arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
func_148840_b(PacketBuffer arg0)
public void
a(om arg0)
handle(ClientGamePacketListener arg0)
method_11466(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
func_148833_a(IClientPlayNetHandler arg0)
public ResourceLocation
b()
getName()
method_11460()
getSoundId()
func_197698_a()
public SoundSource
c()
getSource()
method_11459()
getCategory()
func_186929_b()
public double
d()
getX()
method_11462()
getX()
func_186932_c()
public double
e()
getY()
method_11461()
getY()
func_186926_d()
public double
f()
getZ()
method_11465()
getZ()
func_186925_e()
public float
g()
getVolume()
method_11463()
getVolume()
func_186927_f()
public float
h()
getPitch()
method_11464()
getPitch()
func_186928_g()