public class SetDifficultySerializer_v291 extends Object implements BedrockPacketSerializer<SetDifficultyPacket>
| Modifier and Type | Field and Description |
|---|---|
static SetDifficultySerializer_v291 |
INSTANCE |
| Constructor and Description |
|---|
SetDifficultySerializer_v291() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(ByteBuf buffer,
BedrockCodecHelper helper,
SetDifficultyPacket packet) |
void |
serialize(ByteBuf buffer,
BedrockCodecHelper helper,
SetDifficultyPacket packet) |
public static final SetDifficultySerializer_v291 INSTANCE
public void serialize(ByteBuf buffer, BedrockCodecHelper helper, SetDifficultyPacket packet)
serialize in interface BedrockPacketSerializer<SetDifficultyPacket>public void deserialize(ByteBuf buffer, BedrockCodecHelper helper, SetDifficultyPacket packet)
deserialize in interface BedrockPacketSerializer<SetDifficultyPacket>Copyright © 2018–2022 CloudburstMC. All rights reserved.