Package net.minecraft.network
Class PacketDeflater
java.lang.Object
- All Implemented Interfaces:
ChannelHandler,ChannelOutboundHandler
- Mappings:
Namespace Name official rqintermediary net/minecraft/class_2534named net/minecraft/network/PacketDeflater
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintprotected voidmethod_10741(ChannelHandlerContext channelHandlerContext, ByteBuf byteBuf, ByteBuf byteBuf2) voidsetCompressionThreshold(int compressionThreshold) Methods inherited from class io.netty.handler.codec.MessageToByteEncoder
acceptOutboundMessage, allocateBuffer, encode, isPreferDirect, writeMethods inherited from class io.netty.channel.ChannelOutboundHandlerAdapter
bind, close, connect, deregister, disconnect, flush, readMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.ChannelHandler
exceptionCaught, handlerAdded, handlerRemoved
-
Field Details
-
deflateBuffer
private final byte[] deflateBuffer- Mappings:
Namespace Name Mixin selector official aLrq;a:[Bintermediary field_11637Lnet/minecraft/class_2534;field_11637:[Bnamed deflateBufferLnet/minecraft/network/PacketDeflater;deflateBuffer:[B
-
deflater
- Mappings:
Namespace Name Mixin selector official bLrq;b:Ljava/util/zip/Deflater;intermediary field_11638Lnet/minecraft/class_2534;field_11638:Ljava/util/zip/Deflater;named deflaterLnet/minecraft/network/PacketDeflater;deflater:Ljava/util/zip/Deflater;
-
compressionThreshold
private int compressionThreshold- Mappings:
Namespace Name Mixin selector official cLrq;c:Iintermediary field_11636Lnet/minecraft/class_2534;field_11636:Inamed compressionThresholdLnet/minecraft/network/PacketDeflater;compressionThreshold:I
-
-
Constructor Details
-
PacketDeflater
public PacketDeflater(int compressionThreshold) - Mappings:
Namespace Name Mixin selector official <init>Lrq;<init>(I)Vintermediary <init>Lnet/minecraft/class_2534;<init>(I)Vnamed <init>Lnet/minecraft/network/PacketDeflater;<init>(I)V
-
-
Method Details
-
method_10741
protected void method_10741(ChannelHandlerContext channelHandlerContext, ByteBuf byteBuf, ByteBuf byteBuf2) - Mappings:
Namespace Name Mixin selector official aLrq;a(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)Vintermediary method_10741Lnet/minecraft/class_2534;method_10741(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)Vnamed method_10741Lnet/minecraft/network/PacketDeflater;method_10741(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V
-
getCompressionThreshold
public int getCompressionThreshold()- Mappings:
Namespace Name Mixin selector official aLrq;a()Iintermediary method_36120Lnet/minecraft/class_2534;method_36120()Inamed getCompressionThresholdLnet/minecraft/network/PacketDeflater;getCompressionThreshold()I
-
setCompressionThreshold
public void setCompressionThreshold(int compressionThreshold) - Mappings:
Namespace Name Mixin selector official aLrq;a(I)Vintermediary method_10742Lnet/minecraft/class_2534;method_10742(I)Vnamed setCompressionThresholdLnet/minecraft/network/PacketDeflater;setCompressionThreshold(I)V
-