Class DecoderHandler<T extends PacketListener>

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 vy
  • Field Details

    • LOGGER

      private static final Logger 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 Lvy;a:Lorg/slf4j/Logger;
    • state

      private final NetworkState<T extends PacketListener> 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 Lvy;b:Lwc;
  • Constructor Details

    • DecoderHandler

      public DecoderHandler(NetworkState<T> state)
      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> Lvy;<init>(Lwc;)V
  • Method Details

    • decode

      protected void decode(ChannelHandlerContext context, ByteBuf buf, List<Object> objects) throws Exception
      Specified by:
      decode in class ByteToMessageDecoder
      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 Lvy;decode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V