Class DecoderHandler<T extends PacketListener>

All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler, NetworkStateTransitionHandler

public class DecoderHandler<T extends PacketListener> extends ByteToMessageDecoder implements NetworkStateTransitionHandler
Mappings:
Namespace Name
official uu
intermediary net/minecraft/class_2543
named net/minecraft/network/handler/DecoderHandler
  • Field Details

    • LOGGER

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

      private final class_9127<T extends PacketListener> field_48536
      Mappings:
      Namespace Name Mixin selector
      official b Luu;b:Luy;
      intermediary field_48536 Lnet/minecraft/class_2543;field_48536:Lnet/minecraft/class_9127;
      named field_48536 Lnet/minecraft/network/handler/DecoderHandler;field_48536:Lnet/minecraft/class_9127;
  • Constructor Details

    • DecoderHandler

      public DecoderHandler(class_9127<T> class_9127)
  • Method Details

    • decode

      protected void decode(ChannelHandlerContext channelHandlerContext, ByteBuf buf, List<Object> objects) throws Exception
      Specified by:
      decode in class ByteToMessageDecoder
      Throws:
      Exception
      Mappings:
      Namespace Name Mixin selector
      official decode Luu;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/handler/DecoderHandler;decode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V