Package net.minecraft.network.handler
Class DecoderHandler<T extends PacketListener>
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.handler.codec.ByteToMessageDecoder
net.minecraft.network.handler.DecoderHandler<T>
- All Implemented Interfaces:
ChannelHandler
,ChannelInboundHandler
,NetworkStateTransitionHandler
public class DecoderHandler<T extends PacketListener>
extends ByteToMessageDecoder
implements NetworkStateTransitionHandler
- Mappings:
Namespace Name named net/minecraft/network/handler/DecoderHandler
intermediary net/minecraft/class_2543
official wt
-
Nested Class Summary
Nested classes/interfaces inherited from class io.netty.handler.codec.ByteToMessageDecoder
ByteToMessageDecoder.Cumulator
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable
-
Field Summary
Fields inherited from class io.netty.handler.codec.ByteToMessageDecoder
COMPOSITE_CUMULATOR, MERGE_CUMULATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
decode
(ChannelHandlerContext context, ByteBuf buf, List<Object> objects) Methods inherited from class io.netty.handler.codec.ByteToMessageDecoder
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, isSharable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.netty.channel.ChannelHandler
handlerAdded
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/network/handler/DecoderHandler;LOGGER:Lorg/slf4j/Logger;
intermediary field_11715
Lnet/minecraft/class_2543;field_11715:Lorg/slf4j/Logger;
official a
Lwt;a:Lorg/slf4j/Logger;
-
state
- Mappings:
Namespace Name Mixin selector named state
Lnet/minecraft/network/handler/DecoderHandler;state:Lnet/minecraft/network/NetworkState;
intermediary field_48536
Lnet/minecraft/class_2543;field_48536:Lnet/minecraft/class_9127;
official b
Lwt;b:Lwx;
-
-
Constructor Details
-
DecoderHandler
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/handler/DecoderHandler;<init>(Lnet/minecraft/network/NetworkState;)V
intermediary <init>
Lnet/minecraft/class_2543;<init>(Lnet/minecraft/class_9127;)V
official <init>
Lwt;<init>(Lwx;)V
-
-
Method Details
-
decode
protected void decode(ChannelHandlerContext context, ByteBuf buf, List<Object> objects) throws Exception - Specified by:
decode
in classByteToMessageDecoder
- Throws:
Exception
- Mappings:
Namespace Name Mixin selector named decode
Lnet/minecraft/network/handler/DecoderHandler;decode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V
intermediary decode
Lnet/minecraft/class_2543;decode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V
official decode
Lwt;decode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V
-