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 class
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
-
Constructor Summary
ConstructorDescriptionClientboundUpdateAttributesPacket(int p_133580_, Collection<AttributeInstance> p_133581_)
ClientboundUpdateAttributesPacket(FriendlyByteBuf p_179447_)
-
Method Summary
Modifier and TypeMethodDescriptionint
void
handle(ClientGamePacketListener p_133587_)
void
write(FriendlyByteBuf p_133590_)
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
-
Field Details
-
entityId
private final int entityId -
attributes
-
-
Constructor Details
-
ClientboundUpdateAttributesPacket
-
ClientboundUpdateAttributesPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getEntityId
public int getEntityId() -
getValues
-