net.minecraft.network.protocol.game

public class ClientboundUpdateAttributesPacket

implements Packet<ClientGamePacketListener>

ahu
net.minecraft.network.protocol.game.ClientboundUpdateAttributesPacket
net.minecraft.class_2781
net.minecraft.network.packet.s2c.play.EntityAttributesS2CPacket
net.minecraft.src.C_5137_
net.minecraft.network.protocol.game.PacketPlayOutUpdateAttributes

字段概要

修饰符与类型字段
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundUpdateAttributesPacket>
a
STREAM_CODEC
field_48008
CODEC
f_316910_
private final int
b
entityId
field_12719
entityId
f_133576_
private final List<ClientboundUpdateAttributesPacket$AttributeSnapshot>
c
attributes
field_12720
entries
f_133577_

构造函数概要

修饰符构造函数
public (int entityId, Collection<AttributeInstance> attributes)
private (int entityId, List<ClientboundUpdateAttributesPacket$AttributeSnapshot> attributes)

方法概要

修饰符与类型方法
public PacketType<ClientboundUpdateAttributesPacket>
a()
type()
method_65080()
getPacketType()
m_5779_()
public void
a(adb arg0)
handle(ClientGamePacketListener arg0)
method_11936(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public int
b()
getEntityId()
method_11937()
getEntityId()
m_133588_()
public List<ClientboundUpdateAttributesPacket$AttributeSnapshot>
e()
getValues()
method_11938()
getEntries()
m_133591_()