Package net.minecraft.network
Class PacketDeflater
java.lang.Object
- All Implemented Interfaces:
- ChannelHandler,- ChannelOutboundHandler
- Mappings:
- Namespace - Name - official - qu- intermediary - net/minecraft/class_2534- named - net/minecraft/network/PacketDeflater
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.netty.channel.ChannelHandlerChannelHandler.Sharable
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidencode(ChannelHandlerContext channelHandlerContext, ByteBuf byteBuf, ByteBuf byteBuf2) intvoidsetCompressionThreshold(int compressionThreshold) Methods inherited from class io.netty.handler.codec.MessageToByteEncoderacceptOutboundMessage, allocateBuffer, isPreferDirect, writeMethods inherited from class io.netty.channel.ChannelOutboundHandlerAdapterbind, close, connect, deregister, disconnect, flush, readMethods inherited from class io.netty.channel.ChannelHandlerAdapterensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharableMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.ChannelHandlerexceptionCaught, handlerAdded, handlerRemoved
- 
Field Details- 
deflateBufferprivate final byte[] deflateBuffer- Mappings:
- Namespace - Name - Mixin selector - official - a- Lqu;a:[B- intermediary - field_11637- Lnet/minecraft/class_2534;field_11637:[B- named - deflateBuffer- Lnet/minecraft/network/PacketDeflater;deflateBuffer:[B
 
- 
deflater- Mappings:
- Namespace - Name - Mixin selector - official - b- Lqu;b:Ljava/util/zip/Deflater;- intermediary - field_11638- Lnet/minecraft/class_2534;field_11638:Ljava/util/zip/Deflater;- named - deflater- Lnet/minecraft/network/PacketDeflater;deflater:Ljava/util/zip/Deflater;
 
- 
compressionThresholdprivate int compressionThreshold- Mappings:
- Namespace - Name - Mixin selector - official - c- Lqu;c:I- intermediary - field_11636- Lnet/minecraft/class_2534;field_11636:I- named - compressionThreshold- Lnet/minecraft/network/PacketDeflater;compressionThreshold:I
 
 
- 
- 
Constructor Details- 
PacketDeflaterpublic PacketDeflater(int compressionThreshold) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lqu;<init>(I)V- intermediary - <init>- Lnet/minecraft/class_2534;<init>(I)V- named - <init>- Lnet/minecraft/network/PacketDeflater;<init>(I)V
 
 
- 
- 
Method Details- 
encodeprotected void encode(ChannelHandlerContext channelHandlerContext, ByteBuf byteBuf, ByteBuf byteBuf2) - Specified by:
- encodein class- MessageToByteEncoder<ByteBuf>
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lqu;a(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V- intermediary - method_10741- Lnet/minecraft/class_2534;method_10741(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V- named - encode- Lnet/minecraft/network/PacketDeflater;encode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V
 
- 
getCompressionThresholdpublic int getCompressionThreshold()- Mappings:
- Namespace - Name - Mixin selector - official - a- Lqu;a()I- intermediary - method_36120- Lnet/minecraft/class_2534;method_36120()I- named - getCompressionThreshold- Lnet/minecraft/network/PacketDeflater;getCompressionThreshold()I
 
- 
setCompressionThresholdpublic void setCompressionThreshold(int compressionThreshold) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lqu;a(I)V- intermediary - method_10742- Lnet/minecraft/class_2534;method_10742(I)V- named - setCompressionThreshold- Lnet/minecraft/network/PacketDeflater;setCompressionThreshold(I)V
 
 
-