Class DecoderHandler

All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler

public class DecoderHandler extends ByteToMessageDecoder
Mappings:
Namespace Name
official si
intermediary net/minecraft/class_2543
named net/minecraft/network/DecoderHandler
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lsi;a:Lorg/slf4j/Logger;
      intermediary field_11715 Lnet/minecraft/class_2543;field_11715:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/network/DecoderHandler;LOGGER:Lorg/slf4j/Logger;
    • side

      private final NetworkSide side
      Mappings:
      Namespace Name Mixin selector
      official b Lsi;b:Lup;
      intermediary field_11714 Lnet/minecraft/class_2543;field_11714:Lnet/minecraft/class_2598;
      named side Lnet/minecraft/network/DecoderHandler;side:Lnet/minecraft/network/NetworkSide;
  • Constructor Details

    • DecoderHandler

      public DecoderHandler(NetworkSide side)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsi;<init>(Lup;)V
      intermediary <init> Lnet/minecraft/class_2543;<init>(Lnet/minecraft/class_2598;)V
      named <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:
      decode in class ByteToMessageDecoder
      Throws:
      Exception
      Mappings:
      Namespace Name Mixin selector
      official decode Lsi;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
      named decode Lnet/minecraft/network/DecoderHandler;decode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V