net.minecraft.network

public class CompressionDecoder

extends io.netty.handler.codec.ByteToMessageDecoder

pj
net.minecraft.network.CompressionDecoder
net.minecraft.class_2532
net.minecraft.unmapped.C_twqrkcqp
net.minecraft.network.PacketInflater
net.minecraft.src.C_4959_
net.minecraft.network.PacketDecompressor

Field summary

Modifier and TypeField
public static final int
a
MAXIMUM_COMPRESSED_LENGTH
field_34057
f_slqmovnv
field_34057
f_182671_
public static final int
b
MAXIMUM_UNCOMPRESSED_LENGTH
field_33279
f_zgkeainh
MAXIMUM_PACKET_SIZE
f_182672_
private final Inflater
c
inflater
field_11622
f_hngeqdbi
inflater
f_129434_
private int
d
threshold
field_11623
f_sxnrojnc
compressionThreshold
f_129435_
private boolean
e
validateDecompressed
field_34058
f_hpztavkt
rejectsBadPackets
f_182673_

Constructor summary

ModifierConstructor
public (int compressionThreshold, boolean rejectsBadPackets)

Method summary

Modifier and TypeMethod
protected void
decode(io.netty.channel.ChannelHandlerContext arg0, io.netty.buffer.ByteBuf arg1, List<Object> arg2)
decode(io.netty.channel.ChannelHandlerContext arg0, io.netty.buffer.ByteBuf arg1, List<Object> arg2)
decode(io.netty.channel.ChannelHandlerContext arg0, io.netty.buffer.ByteBuf arg1, List<Object> arg2)
decode(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf buf, List<Object> objects)
decode(io.netty.channel.ChannelHandlerContext p_129442_, io.netty.buffer.ByteBuf p_129443_, List<Object> arg2)
public void
a(int arg0, boolean arg1)
setThreshold(int arg0, boolean arg1)
method_10739(int arg0, boolean arg1)
m_tatdfypu(int arg0, boolean arg1)
setCompressionThreshold(int compressionThreshold, boolean rejectsBadPackets)
m_182677_(int p_182679_, boolean arg1)