net.minecraft.network.protocol.game

public class ClientboundSoundEntityPacket

implements Packet<ClientGamePacketListener>

afo
net.minecraft.network.protocol.game.ClientboundSoundEntityPacket
net.minecraft.class_2765
net.minecraft.network.packet.s2c.play.PlaySoundFromEntityS2CPacket
net.minecraft.src.C_5129_
net.minecraft.network.protocol.game.PacketPlayOutEntitySound

Field summary

Modifier and TypeField
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundSoundEntityPacket>
a
STREAM_CODEC
field_47994
CODEC
f_316622_
private final Holder<SoundEvent>
b
sound
field_12642
sound
f_133408_
private final SoundSource
c
source
field_12641
category
f_133409_
private final int
d
id
field_12640
entityId
f_133410_
private final float
e
volume
field_12639
volume
f_133411_
private final float
f
pitch
field_12638
pitch
f_133412_
private final long
g
seed
field_38819
seed
f_237829_

Constructor summary

ModifierConstructor
public (Holder<SoundEvent> sound, SoundSource category, Entity entity, float volume, float pitch, long seed)
private (RegistryFriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(wk arg0)
write(RegistryFriendlyByteBuf arg0)
method_55941(class_9129 arg0)
write(RegistryByteBuf buf)
m_133427_(C_313350_ arg0)
public PacketType<ClientboundSoundEntityPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(abu arg0)
handle(ClientGamePacketListener arg0)
method_11884(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public Holder<SoundEvent>
b()
getSound()
method_11882()
getSound()
m_263456_()
public SoundSource
e()
getSource()
method_11881()
getCategory()
m_133429_()
public int
f()
getId()
method_11883()
getEntityId()
m_133430_()
public float
g()
getVolume()
method_11885()
getVolume()
m_133431_()
public float
h()
getPitch()
method_11880()
getPitch()
m_133432_()
public long
i()
getSeed()
method_43235()
getSeed()
m_237837_()