net.minecraft.network.protocol.game

public class ClientboundSoundEntityPacket

implements Packet<ClientGamePacketListener>

wg
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
private final SoundEvent
a
sound
field_12642
sound
f_133408_
private final SoundSource
b
source
field_12641
category
f_133409_
private final int
c
id
field_12640
entityId
f_133410_
private final float
d
volume
field_12639
volume
f_133411_
private final float
e
pitch
field_12638
pitch
f_133412_
private final long
f
seed
field_38819
seed
f_237829_

Constructor summary

ModifierConstructor
public (SoundEvent sound, SoundSource category, Entity entity, 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_11882()
getSound()
m_133426_()
public SoundSource
c()
getSource()
method_11881()
getCategory()
m_133429_()
public int
d()
getId()
method_11883()
getEntityId()
m_133430_()
public float
e()
getVolume()
method_11885()
getVolume()
m_133431_()
public float
f()
getPitch()
method_11880()
getPitch()
m_133432_()
public long
g()
getSeed()
method_43235()
getSeed()
m_237837_()
public void
a(sr arg0)
handle(ClientGamePacketListener arg0)
method_11884(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)