net.minecraft.network.protocol.game

public class ClientboundSoundEntityPacket

implements Packet<ClientGamePacketListener>

wx
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

字段概要

修饰符与类型字段
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_

构造函数概要

修饰符构造函数
public (SoundEvent sound, SoundSource category, Entity entity, float volume, float pitch, long seed)
public (FriendlyByteBuf buf)

方法概要

修饰符与类型方法
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(tf arg0)
handle(ClientGamePacketListener arg0)
method_11884(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)