public class AdventureSettingsSerializer_v291 extends Object implements BedrockPacketSerializer<AdventureSettingsPacket>
| Modifier and Type | Field and Description |
|---|---|
static AdventureSettingsSerializer_v291 |
INSTANCE |
| Constructor and Description |
|---|
AdventureSettingsSerializer_v291() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(ByteBuf buffer,
BedrockCodecHelper helper,
AdventureSettingsPacket packet) |
protected static void |
readFlags(int flags,
AdventureSetting[] mappings,
Set<AdventureSetting> settings) |
void |
serialize(ByteBuf buffer,
BedrockCodecHelper helper,
AdventureSettingsPacket packet) |
public static final AdventureSettingsSerializer_v291 INSTANCE
public void serialize(ByteBuf buffer, BedrockCodecHelper helper, AdventureSettingsPacket packet)
serialize in interface BedrockPacketSerializer<AdventureSettingsPacket>public void deserialize(ByteBuf buffer, BedrockCodecHelper helper, AdventureSettingsPacket packet)
deserialize in interface BedrockPacketSerializer<AdventureSettingsPacket>protected static void readFlags(int flags,
AdventureSetting[] mappings,
Set<AdventureSetting> settings)
Copyright © 2018–2022 CloudburstMC. All rights reserved.