Class LegacyQueryHandler

All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler

public class LegacyQueryHandler
extends ChannelInboundHandlerAdapter
Mappings:
Namespace Name
official abk
intermediary net/minecraft/class_3238
named net/minecraft/network/LegacyQueryHandler
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Labk;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_14101 Lnet/minecraft/class_3238;field_14101:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/network/LegacyQueryHandler;LOGGER:Lorg/apache/logging/log4j/Logger;
    • networkIo

      private final ServerNetworkIo networkIo
      Mappings:
      Namespace Name Mixin selector
      official b Labk;b:Labm;
      intermediary field_14102 Lnet/minecraft/class_3238;field_14102:Lnet/minecraft/class_3242;
      named networkIo Lnet/minecraft/network/LegacyQueryHandler;networkIo:Lnet/minecraft/server/ServerNetworkIo;
  • Constructor Details

    • LegacyQueryHandler

      public LegacyQueryHandler​(ServerNetworkIo networkIo)
      Mappings:
      Namespace Name Mixin selector
      official <init> Labk;<init>(Labm;)V
      intermediary <init> Lnet/minecraft/class_3238;<init>(Lnet/minecraft/class_3242;)V
      named <init> Lnet/minecraft/network/LegacyQueryHandler;<init>(Lnet/minecraft/server/ServerNetworkIo;)V
  • Method Details

    • channelRead

      public void channelRead​(ChannelHandlerContext channelHandlerContext, Object object)
      Specified by:
      channelRead in interface ChannelInboundHandler
      Overrides:
      channelRead in class ChannelInboundHandlerAdapter
      Mappings:
      Namespace Name Mixin selector
      official channelRead Labk;channelRead(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V
      intermediary channelRead Lnet/minecraft/class_3238;channelRead(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V
      named channelRead Lnet/minecraft/network/LegacyQueryHandler;channelRead(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V
    • reply

      private void reply​(ChannelHandlerContext ctx, ByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official a Labk;a(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)V
      intermediary method_14344 Lnet/minecraft/class_3238;method_14344(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)V
      named reply Lnet/minecraft/network/LegacyQueryHandler;reply(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)V
    • toBuffer

      private ByteBuf toBuffer​(String s)
      Mappings:
      Namespace Name Mixin selector
      official a Labk;a(Ljava/lang/String;)Lio/netty/buffer/ByteBuf;
      intermediary method_14345 Lnet/minecraft/class_3238;method_14345(Ljava/lang/String;)Lio/netty/buffer/ByteBuf;
      named toBuffer Lnet/minecraft/network/LegacyQueryHandler;toBuffer(Ljava/lang/String;)Lio/netty/buffer/ByteBuf;