Package net.minecraft.network.handler
Class LegacyQueryHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
net.minecraft.network.handler.LegacyQueryHandler
- All Implemented Interfaces:
ChannelHandler
,ChannelInboundHandler
- Mappings:
Namespace Name official alj
intermediary net/minecraft/class_3238
named net/minecraft/network/handler/LegacyQueryHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
channelRead
(ChannelHandlerContext ctx, Object msg) private static ByteBuf
createBuf
(ByteBufAllocator allocator, String string) private static String
getResponse
(QueryableServer server) private static String
getResponseFor1_2
(QueryableServer server) private static boolean
isLegacyQuery
(ByteBuf buf) private static void
reply
(ChannelHandlerContext context, ByteBuf buf) Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.netty.channel.ChannelHandler
handlerAdded, handlerRemoved
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Lalj;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
- Mappings:
Namespace Name Mixin selector official b
Lalj;b:Lafl;
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
- Mappings:
Namespace Name Mixin selector official <init>
Lalj;<init>(Lafl;)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
- Specified by:
channelRead
in interfaceChannelInboundHandler
- Overrides:
channelRead
in classChannelInboundHandlerAdapter
- Mappings:
Namespace Name Mixin selector official channelRead
Lalj;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
- Mappings:
Namespace Name Mixin selector official a
Lalj;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
- Mappings:
Namespace Name Mixin selector official a
Lalj;a(Lafl;)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
- Mappings:
Namespace Name Mixin selector official b
Lalj;b(Lafl;)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
- Mappings:
Namespace Name Mixin selector official a
Lalj;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
- Mappings:
Namespace Name Mixin selector official a
Lalj;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;
-