net.minecraft.network

public class PacketEncoder

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

um
net.minecraft.network.PacketEncoder
net.minecraft.class_2545
net.minecraft.network.handler.PacketEncoder
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 io.netty.util.AttributeKey<ConnectionProtocol$CodecData<?>>
b
codecKey
field_45678
protocolKey
f_290934_

Constructor summary

ModifierConstructor
public (io.netty.util.AttributeKey<ConnectionProtocol$CodecData<?>> protocolKey)

Method summary

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