Class LegacyQueryHandler

All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler

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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lacg;b: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;
    • field_29771

      public static final int field_29771
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official a Lacg;a:I
      intermediary field_29771 Lnet/minecraft/class_3238;field_29771:I
      named field_29771 Lnet/minecraft/network/LegacyQueryHandler;field_29771:I
    • networkIo

      private final ServerNetworkIo networkIo
      Mappings:
      Namespace Name Mixin selector
      official c Lacg;c:Laci;
      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> Lacg;<init>(Laci;)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 ctx, Object msg)
      Specified by:
      channelRead in interface ChannelInboundHandler
      Overrides:
      channelRead in class ChannelInboundHandlerAdapter
      Mappings:
      Namespace Name Mixin selector
      official channelRead Lacg;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 Lacg;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 Lacg;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;