net.minecraft.network.packet.s2c.play

public class EntityAttributesS2CPacket

implements Packet<ClientPlayPacketListener>

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

Field summary

Modifier and TypeField
public static final PacketCodec<RegistryByteBuf, EntityAttributesS2CPacket>
STREAM_CODEC
field_48008
CODEC
private final int
entityId
field_12719
entityId
private final List<EntityAttributesS2CPacket$Entry>
attributes
field_12720
entries

Constructor summary

ModifierConstructor
public (int entityId, Collection<EntityAttributeInstance> attributes)
private (int entityId, List<EntityAttributesS2CPacket$Entry> attributes)

Method summary

Modifier and TypeMethod
public PacketType<EntityAttributesS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientGamePacketListener listener)
method_11936(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
getEntityId()
method_11937()
getEntityId()
public List<EntityAttributesS2CPacket$Entry>
getValues()
method_11938()
getEntries()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)