net.minecraft.network

public class PacketEncoder<T extends PacketListener>

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

vu
net.minecraft.network.PacketEncoder
net.minecraft.class_2545
net.minecraft.network.handler.EncoderHandler
net.minecraft.network.PacketEncoder

Field summary

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

Constructor summary

ModifierConstructor
public (ProtocolInfo<T> state)

Method summary

Modifier and TypeMethod
protected void
a(io.netty.channel.ChannelHandlerContext arg0, yw<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)