Class ClientboundUpdateAttributesPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundUpdateAttributesPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundUpdateAttributesPacket
extends Object
implements Packet<ClientGamePacketListener>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List
<ClientboundUpdateAttributesPacket.AttributeSnapshot> private final int
-
Constructor Summary
ModifierConstructorDescriptionClientboundUpdateAttributesPacket
(int p_133580_, Collection<AttributeInstance> p_133581_) private
ClientboundUpdateAttributesPacket
(int p_320052_, List<ClientboundUpdateAttributesPacket.AttributeSnapshot> p_320480_) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
public static final StreamCodec<RegistryFriendlyByteBuf,ClientboundUpdateAttributesPacket> STREAM_CODEC -
entityId
private final int entityId -
attributes
-
-
Constructor Details
-
ClientboundUpdateAttributesPacket
-
ClientboundUpdateAttributesPacket
private ClientboundUpdateAttributesPacket(int p_320052_, List<ClientboundUpdateAttributesPacket.AttributeSnapshot> p_320480_)
-
-
Method Details
-
type
- Specified by:
type
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getEntityId
public int getEntityId() -
getValues
-