public class AdventureSettingsSerializer_v291 extends java.lang.Object implements BedrockPacketSerializer<AdventureSettingsPacket>
| Modifier and Type | Field and Description |
|---|---|
static AdventureSettingsSerializer_v291 |
INSTANCE |
| Modifier | Constructor and Description |
|---|---|
protected |
AdventureSettingsSerializer_v291() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
AdventureSettingsPacket packet) |
protected static void |
readFlags(int flags,
AdventureSetting[] mappings,
java.util.Set<AdventureSetting> settings) |
void |
serialize(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
AdventureSettingsPacket packet) |
public static final AdventureSettingsSerializer_v291 INSTANCE
public void serialize(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
AdventureSettingsPacket packet)
serialize in interface BedrockPacketSerializer<AdventureSettingsPacket>public void deserialize(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
AdventureSettingsPacket packet)
deserialize in interface BedrockPacketSerializer<AdventureSettingsPacket>protected static void readFlags(int flags,
AdventureSetting[] mappings,
java.util.Set<AdventureSetting> settings)