net.minecraft.network

public class CompressionEncoder

extends io.netty.handler.codec.MessageToByteEncoder<io.netty.buffer.ByteBuf>

pv
net.minecraft.network.CompressionEncoder
net.minecraft.class_2534
net.minecraft.unmapped.C_owugjbws
net.minecraft.network.PacketDeflater
net.minecraft.network.PacketDeflater
net.minecraft.src.C_4960_
net.minecraft.network.PacketCompressor

Field summary

Modifier and TypeField
private final byte[]
a
encodeBuf
field_11637
f_guchtsrc
deflateBuffer
deflateBuffer
f_129444_
private final Deflater
b
deflater
field_11638
f_fuciussg
deflater
deflater
f_129445_
private int
c
threshold
field_11636
f_mrwxrqtw
compressionThreshold
compressionThreshold
f_129446_

Constructor summary

ModifierConstructor
public (int compressionThreshold)

Method summary

Modifier and TypeMethod
protected void
a(io.netty.channel.ChannelHandlerContext arg0, io.netty.buffer.ByteBuf arg1, io.netty.buffer.ByteBuf arg2)
encode(io.netty.channel.ChannelHandlerContext arg0, io.netty.buffer.ByteBuf arg1, io.netty.buffer.ByteBuf arg2)
method_10741(io.netty.channel.ChannelHandlerContext arg0, io.netty.buffer.ByteBuf arg1, io.netty.buffer.ByteBuf arg2)
m_usnnxlvh(io.netty.channel.ChannelHandlerContext arg0, io.netty.buffer.ByteBuf arg1, io.netty.buffer.ByteBuf arg2)
encode(io.netty.channel.ChannelHandlerContext arg0, io.netty.buffer.ByteBuf arg1, io.netty.buffer.ByteBuf arg2)
encode(io.netty.channel.ChannelHandlerContext arg0, io.netty.buffer.ByteBuf arg1, io.netty.buffer.ByteBuf arg2)
encode(io.netty.channel.ChannelHandlerContext p_129453_, io.netty.buffer.ByteBuf p_129454_, io.netty.buffer.ByteBuf arg2)
public int
a()
getThreshold()
method_36120()
m_bylinzyi()
getCompressionThreshold()
getCompressionThreshold()
m_178298_()
public void
a(int arg0)
setThreshold(int arg0)
method_10742(int arg0)
m_mxhczvoh(int arg0)
setCompressionThreshold(int compressionThreshold)
setCompressionThreshold(int compressionThreshold)
m_129449_(int arg0)