Package net.minecraft.network
Class DecoderHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.handler.codec.ByteToMessageDecoder
net.minecraft.network.DecoderHandler
- All Implemented Interfaces:
ChannelHandler,ChannelInboundHandler
public class DecoderHandler extends ByteToMessageDecoder
- Mappings:
Namespace Name official enintermediary net/minecraft/class_1436named net/minecraft/network/DecoderHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable -
Field Summary
Fields Modifier and Type Field Description private NetworkSidefield_5991private static LoggerLOGGERprivate static MarkerMARKER -
Constructor Summary
Constructors Constructor Description DecoderHandler(NetworkSide networkSide) -
Method Summary
Modifier and Type Method Description protected voiddecode(ChannelHandlerContext channelHandlerContext, ByteBuf byteBuf, List<Object> list)Methods inherited from class io.netty.handler.codec.ByteToMessageDecoder
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setSingleDecodeMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
handlerAdded, 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
handlerAdded
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLen;a:Lorg/apache/logging/log4j/Logger;intermediary field_5989Lnet/minecraft/class_1436;field_5989:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/network/DecoderHandler;LOGGER:Lorg/apache/logging/log4j/Logger;
-
MARKER
- Mappings:
Namespace Name Mixin selector official bLen;b:Lorg/apache/logging/log4j/Marker;intermediary field_5990Lnet/minecraft/class_1436;field_5990:Lorg/apache/logging/log4j/Marker;named MARKERLnet/minecraft/network/DecoderHandler;MARKER:Lorg/apache/logging/log4j/Marker;
-
field_5991
- Mappings:
Namespace Name Mixin selector official cLen;c:Lfg;intermediary field_5991Lnet/minecraft/class_1436;field_5991:Lnet/minecraft/class_1458;named field_5991Lnet/minecraft/network/DecoderHandler;field_5991:Lnet/minecraft/network/NetworkSide;
-
-
Constructor Details
-
DecoderHandler
-
-
Method Details
-
decode
protected void decode(ChannelHandlerContext channelHandlerContext, ByteBuf byteBuf, List<Object> list) throws Exception- Specified by:
decodein classByteToMessageDecoder- Throws:
Exception- Mappings:
Namespace Name Mixin selector official decodeLen;decode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)Vintermediary decodeLnet/minecraft/class_1436;decode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)Vnamed decodeLnet/minecraft/network/DecoderHandler;decode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V
-