public class UpdateAttributesSerializer_v291 extends Object implements BedrockPacketSerializer<UpdateAttributesPacket>
| Modifier and Type | Field and Description |
|---|---|
static UpdateAttributesSerializer_v291 |
INSTANCE |
| Constructor and Description |
|---|
UpdateAttributesSerializer_v291() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(ByteBuf buffer,
BedrockPacketHelper helper,
UpdateAttributesPacket packet) |
AttributeData |
readAttribute(ByteBuf buffer,
BedrockPacketHelper helper) |
void |
serialize(ByteBuf buffer,
BedrockPacketHelper helper,
UpdateAttributesPacket packet) |
void |
writeAttribute(ByteBuf buffer,
BedrockPacketHelper helper,
AttributeData attribute) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeserialize, serializepublic static final UpdateAttributesSerializer_v291 INSTANCE
public void serialize(ByteBuf buffer, BedrockPacketHelper helper, UpdateAttributesPacket packet)
serialize in interface BedrockPacketSerializer<UpdateAttributesPacket>serialize in interface com.nukkitx.protocol.serializer.PacketSerializer<UpdateAttributesPacket,BedrockPacketHelper>public void deserialize(ByteBuf buffer, BedrockPacketHelper helper, UpdateAttributesPacket packet)
deserialize in interface BedrockPacketSerializer<UpdateAttributesPacket>deserialize in interface com.nukkitx.protocol.serializer.PacketSerializer<UpdateAttributesPacket,BedrockPacketHelper>public AttributeData readAttribute(ByteBuf buffer, BedrockPacketHelper helper)
public void writeAttribute(ByteBuf buffer, BedrockPacketHelper helper, AttributeData attribute)
Copyright © 2018–2023 NukkitX. All rights reserved.