net.minecraft.network

public class PacketEncoder<T extends PacketListener>

extends io.netty.handler.codec.MessageToByteEncoder<Packet<T>>

we
net.minecraft.network.PacketEncoder
net.minecraft.class_2545
net.minecraft.network.handler.EncoderHandler
net.minecraft.src.C_4985_
net.minecraft.network.PacketEncoder

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_11721
LOGGER
f_130538_
private final ProtocolInfo<T>
b
protocolInfo
field_48537
state
f_315245_

Constructor summary

ModifierConstructor
public (ProtocolInfo<T> state)

Method summary

Modifier and TypeMethod
protected void
a(io.netty.channel.ChannelHandlerContext arg0, zg<T> arg1, io.netty.buffer.ByteBuf arg2)
encode(io.netty.channel.ChannelHandlerContext arg0, Packet<T> arg1, io.netty.buffer.ByteBuf arg2)
method_10838(io.netty.channel.ChannelHandlerContext arg0, class_2596<T> arg1, io.netty.buffer.ByteBuf arg2)
encode(io.netty.channel.ChannelHandlerContext arg0, Packet<T> arg1, io.netty.buffer.ByteBuf arg2)
encode(io.netty.channel.ChannelHandlerContext p_130546_, C_5028_<T> p_130547_, io.netty.buffer.ByteBuf arg2)