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
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<ClientboundUpdateAttributesPacket.AttributeSnapshot>private final int -
Constructor Summary
ConstructorsConstructorDescriptionClientboundUpdateAttributesPacket(int p_133580_, Collection<AttributeInstance> p_133581_) ClientboundUpdateAttributesPacket(FriendlyByteBuf p_179447_) -
Method Summary
Modifier and TypeMethodDescriptionintvoidhandle(ClientGamePacketListener p_133587_) voidwrite(FriendlyByteBuf p_133590_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable
-
Field Details
-
entityId
private final int entityId -
attributes
-
-
Constructor Details
-
ClientboundUpdateAttributesPacket
-
ClientboundUpdateAttributesPacket
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-
getEntityId
public int getEntityId() -
getValues
-