net.minecraft.network.protocol.game

public class ClientboundUpdateAttributesPacket

implements Packet<ClientGamePacketListener>

aga
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

Field summary

Modifier and TypeField
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_

Constructor summary

ModifierConstructor
public (int entityId, Collection<AttributeInstance> attributes)
private (int entityId, List<ClientboundUpdateAttributesPacket$AttributeSnapshot> attributes)

Method summary

Modifier and TypeMethod
public PacketType<ClientboundUpdateAttributesPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(abu 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_()