Class LegacyQueryHandler

All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler

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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/network/handler/LegacyQueryHandler;LOGGER:Lorg/slf4j/Logger;
      intermediary field_14101 Lnet/minecraft/class_3238;field_14101:Lorg/slf4j/Logger;
      official a Larn;a:Lorg/slf4j/Logger;
    • server

      private final QueryableServer server
      Mappings:
      Namespace Name Mixin selector
      named server Lnet/minecraft/network/handler/LegacyQueryHandler;server:Lnet/minecraft/network/QueryableServer;
      intermediary field_44998 Lnet/minecraft/class_3238;field_44998:Lnet/minecraft/class_8599;
      official b Larn;b:Lalg;
  • Constructor Details

    • LegacyQueryHandler

      public LegacyQueryHandler(QueryableServer server)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/handler/LegacyQueryHandler;<init>(Lnet/minecraft/network/QueryableServer;)V
      intermediary <init> Lnet/minecraft/class_3238;<init>(Lnet/minecraft/class_8599;)V
      official <init> Larn;<init>(Lalg;)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
      named channelRead Lnet/minecraft/network/handler/LegacyQueryHandler;channelRead(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V
      intermediary channelRead Lnet/minecraft/class_3238;channelRead(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V
      official channelRead Larn;channelRead(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V
    • isLegacyQuery

      private static boolean isLegacyQuery(ByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named isLegacyQuery Lnet/minecraft/network/handler/LegacyQueryHandler;isLegacyQuery(Lio/netty/buffer/ByteBuf;)Z
      intermediary method_52380 Lnet/minecraft/class_3238;method_52380(Lio/netty/buffer/ByteBuf;)Z
      official a Larn;a(Lio/netty/buffer/ByteBuf;)Z
    • getResponseFor1_2

      private static String getResponseFor1_2(QueryableServer server)
      Mappings:
      Namespace Name Mixin selector
      named getResponseFor1_2 Lnet/minecraft/network/handler/LegacyQueryHandler;getResponseFor1_2(Lnet/minecraft/network/QueryableServer;)Ljava/lang/String;
      intermediary method_52379 Lnet/minecraft/class_3238;method_52379(Lnet/minecraft/class_8599;)Ljava/lang/String;
      official a Larn;a(Lalg;)Ljava/lang/String;
    • getResponse

      private static String getResponse(QueryableServer server)
      Mappings:
      Namespace Name Mixin selector
      named getResponse Lnet/minecraft/network/handler/LegacyQueryHandler;getResponse(Lnet/minecraft/network/QueryableServer;)Ljava/lang/String;
      intermediary method_52382 Lnet/minecraft/class_3238;method_52382(Lnet/minecraft/class_8599;)Ljava/lang/String;
      official b Larn;b(Lalg;)Ljava/lang/String;
    • reply

      private static void reply(ChannelHandlerContext context, ByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named reply Lnet/minecraft/network/handler/LegacyQueryHandler;reply(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
      official a Larn;a(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)V
    • createBuf

      private static ByteBuf createBuf(ByteBufAllocator allocator, String string)
      Mappings:
      Namespace Name Mixin selector
      named createBuf Lnet/minecraft/network/handler/LegacyQueryHandler;createBuf(Lio/netty/buffer/ByteBufAllocator;Ljava/lang/String;)Lio/netty/buffer/ByteBuf;
      intermediary method_52381 Lnet/minecraft/class_3238;method_52381(Lio/netty/buffer/ByteBufAllocator;Ljava/lang/String;)Lio/netty/buffer/ByteBuf;
      official a Larn;a(Lio/netty/buffer/ByteBufAllocator;Ljava/lang/String;)Lio/netty/buffer/ByteBuf;