public class CraftingDataSerializer_v291 extends java.lang.Object implements BedrockPacketSerializer<CraftingDataPacket>
| Modifier and Type | Field and Description |
|---|---|
protected static ItemData[] |
EMPTY_ARRAY |
static CraftingDataSerializer_v291 |
INSTANCE |
| Modifier | Constructor and Description |
|---|---|
protected |
CraftingDataSerializer_v291() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
CraftingDataPacket packet) |
protected CraftingData |
readFurnaceRecipe(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
CraftingDataType type) |
protected CraftingData |
readMultiRecipe(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
CraftingDataType type) |
protected CraftingData |
readShapedRecipe(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
CraftingDataType type) |
protected CraftingData |
readShapelessRecipe(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
CraftingDataType type) |
void |
serialize(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
CraftingDataPacket packet) |
protected void |
writeFurnaceRecipe(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
CraftingData data) |
protected void |
writeMultiRecipe(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
CraftingData data) |
protected void |
writeShapedRecipe(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
CraftingData data) |
protected void |
writeShapelessRecipe(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
CraftingData data) |
public static final CraftingDataSerializer_v291 INSTANCE
protected static final ItemData[] EMPTY_ARRAY
public void serialize(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
CraftingDataPacket packet)
serialize in interface BedrockPacketSerializer<CraftingDataPacket>public void deserialize(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
CraftingDataPacket packet)
deserialize in interface BedrockPacketSerializer<CraftingDataPacket>protected CraftingData readShapelessRecipe(io.netty.buffer.ByteBuf buffer, BedrockCodecHelper helper, CraftingDataType type)
protected void writeShapelessRecipe(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
CraftingData data)
protected CraftingData readShapedRecipe(io.netty.buffer.ByteBuf buffer, BedrockCodecHelper helper, CraftingDataType type)
protected void writeShapedRecipe(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
CraftingData data)
protected CraftingData readFurnaceRecipe(io.netty.buffer.ByteBuf buffer, BedrockCodecHelper helper, CraftingDataType type)
protected void writeFurnaceRecipe(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
CraftingData data)
protected CraftingData readMultiRecipe(io.netty.buffer.ByteBuf buffer, BedrockCodecHelper helper, CraftingDataType type)
protected void writeMultiRecipe(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
CraftingData data)