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 named net/minecraft/network/handler/LegacyQueryHandler
intermediary net/minecraft/class_3238
official arz
-
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 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
Larz;a:Lorg/slf4j/Logger;
-
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
Larz;b:Lalv;
-
-
Constructor Details
-
LegacyQueryHandler
- 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>
Larz;<init>(Lalv;)V
-
-
Method Details
-
channelRead
- Specified by:
channelRead
in interfaceChannelInboundHandler
- Overrides:
channelRead
in classChannelInboundHandlerAdapter
- 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
Larz;channelRead(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V
-
isLegacyQuery
- 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
Larz;a(Lio/netty/buffer/ByteBuf;)Z
-
getResponseFor1_2
- 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
Larz;a(Lalv;)Ljava/lang/String;
-
getResponse
- 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
Larz;b(Lalv;)Ljava/lang/String;
-
reply
- 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
Larz;a(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)V
-
createBuf
- 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
Larz;a(Lio/netty/buffer/ByteBufAllocator;Ljava/lang/String;)Lio/netty/buffer/ByteBuf;
-