Class LegacyQueryHandler

All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler

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

    • LOGGER

      private static final org.slf4j.Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lagw;b:Lorg/slf4j/Logger;
      intermediary field_14101 Lnet/minecraft/class_3238;field_14101:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/network/LegacyQueryHandler;LOGGER:Lorg/slf4j/Logger;
    • field_29771

      public static final int field_29771
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lagw;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 Lagw;c:Lagy;
      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> Lagw;<init>(Lagy;)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 Lagw;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 Lagw;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 Lagw;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;