net.minecraft.network.protocol.game

public class ClientboundUpdateAttributesPacket

implements Packet<ClientGamePacketListener>

afy
net.minecraft.network.protocol.game.ClientboundUpdateAttributesPacket
net.minecraft.class_2781
net.minecraft.network.packet.s2c.play.EntityAttributesS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutUpdateAttributes

Field summary

Modifier and TypeField
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundUpdateAttributesPacket>
a
STREAM_CODEC
field_48008
CODEC
private final int
b
entityId
field_12719
entityId
private final List<ClientboundUpdateAttributesPacket$AttributeSnapshot>
c
attributes
field_12720
entries

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_65080()
getPacketType()
public void
a(abl arg0)
handle(ClientGamePacketListener arg0)
method_11936(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
b()
getEntityId()
method_11937()
getEntityId()
public List<ClientboundUpdateAttributesPacket$AttributeSnapshot>
e()
getValues()
method_11938()
getEntries()