Class ClientboundUpdateAttributesPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.entity.ClientboundUpdateAttributesPacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundUpdateAttributesPacket(int entityId, List<Attribute> attributes) ClientboundUpdateAttributesPacket(io.netty.buffer.ByteBuf in) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintinthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ClientboundUpdateAttributesPacketwithAttributes(List<Attribute> attributes) @NonNull ClientboundUpdateAttributesPacketwithEntityId(int entityId) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ClientboundUpdateAttributesPacket
public ClientboundUpdateAttributesPacket(io.netty.buffer.ByteBuf in) -
ClientboundUpdateAttributesPacket
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getEntityId
public int getEntityId() -
getAttributes
-
equals
-
canEqual
-
hashCode
-
toString
-
withEntityId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withAttributes
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-