Class LegacyQueryHandler

All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler

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

    • LOGGER

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

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

    • LegacyQueryHandler

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

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

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

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

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

      private static ByteBuf createBuf(ByteBufAllocator allocator, String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lanw;a(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;
      named createBuf Lnet/minecraft/network/handler/LegacyQueryHandler;createBuf(Lio/netty/buffer/ByteBufAllocator;Ljava/lang/String;)Lio/netty/buffer/ByteBuf;