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
- Mappings:
Namespace Name official siintermediary net/minecraft/class_2543named net/minecraft/network/DecoderHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class io.netty.handler.codec.ByteToMessageDecoder
ByteToMessageDecoder.CumulatorNested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable -
Field Summary
FieldsFields inherited from class io.netty.handler.codec.ByteToMessageDecoder
COMPOSITE_CUMULATOR, MERGE_CUMULATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddecode(ChannelHandlerContext ctx, 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, userEventTriggeredMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, 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 aLsi;a:Lorg/slf4j/Logger;intermediary field_11715Lnet/minecraft/class_2543;field_11715:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/network/DecoderHandler;LOGGER:Lorg/slf4j/Logger;
-
side
- Mappings:
Namespace Name Mixin selector official bLsi;b:Lup;intermediary field_11714Lnet/minecraft/class_2543;field_11714:Lnet/minecraft/class_2598;named sideLnet/minecraft/network/DecoderHandler;side:Lnet/minecraft/network/NetworkSide;
-
-
Constructor Details
-
DecoderHandler
- Mappings:
Namespace Name Mixin selector official <init>Lsi;<init>(Lup;)Vintermediary <init>Lnet/minecraft/class_2543;<init>(Lnet/minecraft/class_2598;)Vnamed <init>Lnet/minecraft/network/DecoderHandler;<init>(Lnet/minecraft/network/NetworkSide;)V
-
-
Method Details
-
decode
protected void decode(ChannelHandlerContext ctx, ByteBuf buf, List<Object> objects) throws Exception - Specified by:
decodein classByteToMessageDecoder- Throws:
Exception- Mappings:
Namespace Name Mixin selector official decodeLsi;decode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)Vintermediary decodeLnet/minecraft/class_2543;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
-