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,
BedrockCodecHelper helper,
UpdateAttributesPacket packet) |
AttributeData |
readAttribute(ByteBuf buffer,
BedrockCodecHelper helper) |
void |
serialize(ByteBuf buffer,
BedrockCodecHelper helper,
UpdateAttributesPacket packet) |
void |
writeAttribute(ByteBuf buffer,
BedrockCodecHelper helper,
AttributeData attribute) |
public static final UpdateAttributesSerializer_v291 INSTANCE
public void serialize(ByteBuf buffer, BedrockCodecHelper helper, UpdateAttributesPacket packet)
serialize in interface BedrockPacketSerializer<UpdateAttributesPacket>public void deserialize(ByteBuf buffer, BedrockCodecHelper helper, UpdateAttributesPacket packet)
deserialize in interface BedrockPacketSerializer<UpdateAttributesPacket>public AttributeData readAttribute(ByteBuf buffer, BedrockCodecHelper helper)
public void writeAttribute(ByteBuf buffer, BedrockCodecHelper helper, AttributeData attribute)
Copyright © 2018–2022 CloudburstMC. All rights reserved.