net.minecraft.network.protocol.game

public class ClientboundCustomSoundPacket

implements Packet<ClientGamePacketListener>

qn
net.minecraft.network.protocol.game.ClientboundCustomSoundPacket
net.minecraft.class_2660
net.minecraft.network.packet.s2c.play.PlaySoundIdS2CPacket
net.minecraft.src.C_5061_
net.minecraft.network.protocol.game.PacketPlayOutCustomSoundEffect

Field summary

Modifier and TypeField
public static final float
a
LOCATION_ACCURACY
field_33327
COORDINATE_SCALE
f_178837_
private final ResourceLocation
b
name
field_12170
id
f_132046_
private final SoundSource
c
source
field_12171
category
f_132047_
private final int
d
x
field_12169
fixedX
f_132048_
private final int
e
y
field_12168
fixedY
f_132049_
private final int
f
z
field_12167
fixedZ
f_132050_
private final float
g
volume
field_12166
volume
f_132051_
private final float
h
pitch
field_12172
pitch
f_132052_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(og arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public ResourceLocation
b()
getName()
method_11460()
getSoundId()
m_132066_()
public SoundSource
c()
getSource()
method_11459()
getCategory()
m_132069_()
public double
d()
getX()
method_11462()
getX()
m_132070_()
public double
e()
getY()
method_11461()
getY()
m_132071_()
public double
f()
getZ()
method_11465()
getZ()
m_132072_()
public float
g()
getVolume()
method_11463()
getVolume()
m_132073_()
public float
h()
getPitch()
method_11464()
getPitch()
m_132074_()
public void
a(pn arg0)
handle(ClientGamePacketListener arg0)
method_11466(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)