Package net.minecraft.server.network
Class ServerQueryNetworkHandler
java.lang.Object
net.minecraft.server.network.ServerQueryNetworkHandler
- All Implemented Interfaces:
PacketListener
,ServerQueryPacketListener
public class ServerQueryNetworkHandler extends Object implements ServerQueryPacketListener
- Mappings:
Namespace Name official abr
intermediary net/minecraft/class_3251
named net/minecraft/server/network/ServerQueryNetworkHandler
-
Field Summary
Fields Modifier and Type Field Description private ClientConnection
connection
private static Text
REQUEST_HANDLED
private boolean
responseSent
private MinecraftServer
server
-
Constructor Summary
Constructors Constructor Description ServerQueryNetworkHandler(MinecraftServer server, ClientConnection connection)
-
Method Summary
Modifier and Type Method Description ClientConnection
getConnection()
void
onDisconnected(Text reason)
void
onPing(QueryPingC2SPacket packet)
void
onRequest(QueryRequestC2SPacket packet)
-
Field Details
-
REQUEST_HANDLED
- Mappings:
Namespace Name Mixin selector official a
Labr;a:Loi;
intermediary field_14179
Lnet/minecraft/class_3251;field_14179:Lnet/minecraft/class_2561;
named REQUEST_HANDLED
Lnet/minecraft/server/network/ServerQueryNetworkHandler;REQUEST_HANDLED:Lnet/minecraft/text/Text;
-
server
- Mappings:
Namespace Name Mixin selector official b
Labr;b:Lnet/minecraft/server/MinecraftServer;
intermediary field_14180
Lnet/minecraft/class_3251;field_14180:Lnet/minecraft/server/MinecraftServer;
named server
Lnet/minecraft/server/network/ServerQueryNetworkHandler;server:Lnet/minecraft/server/MinecraftServer;
-
connection
- Mappings:
Namespace Name Mixin selector official c
Labr;c:Lnu;
intermediary field_14178
Lnet/minecraft/class_3251;field_14178:Lnet/minecraft/class_2535;
named connection
Lnet/minecraft/server/network/ServerQueryNetworkHandler;connection:Lnet/minecraft/network/ClientConnection;
-
responseSent
private boolean responseSent- Mappings:
Namespace Name Mixin selector official d
Labr;d:Z
intermediary field_14177
Lnet/minecraft/class_3251;field_14177:Z
named responseSent
Lnet/minecraft/server/network/ServerQueryNetworkHandler;responseSent:Z
-
-
Constructor Details
-
ServerQueryNetworkHandler
- Mappings:
Namespace Name Mixin selector official <init>
Labr;<init>(Lnet/minecraft/server/MinecraftServer;Lnu;)V
intermediary <init>
Lnet/minecraft/class_3251;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_2535;)V
named <init>
Lnet/minecraft/server/network/ServerQueryNetworkHandler;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/network/ClientConnection;)V
-
-
Method Details
-
onDisconnected
- Specified by:
onDisconnected
in interfacePacketListener
- Mappings:
Namespace Name Mixin selector official a
Lnz;a(Loi;)V
intermediary method_10839
Lnet/minecraft/class_2547;method_10839(Lnet/minecraft/class_2561;)V
named onDisconnected
Lnet/minecraft/network/listener/PacketListener;onDisconnected(Lnet/minecraft/text/Text;)V
-
getConnection
- Specified by:
getConnection
in interfacePacketListener
- Mappings:
Namespace Name Mixin selector official a
Lnz;a()Lnu;
intermediary method_2872
Lnet/minecraft/class_2547;method_2872()Lnet/minecraft/class_2535;
named getConnection
Lnet/minecraft/network/listener/PacketListener;getConnection()Lnet/minecraft/network/ClientConnection;
-
onRequest
- Specified by:
onRequest
in interfaceServerQueryPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lvg;a(Lvi;)V
intermediary method_12698
Lnet/minecraft/class_2933;method_12698(Lnet/minecraft/class_2937;)V
named onRequest
Lnet/minecraft/network/listener/ServerQueryPacketListener;onRequest(Lnet/minecraft/network/packet/c2s/query/QueryRequestC2SPacket;)V
-
onPing
- Specified by:
onPing
in interfaceServerQueryPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lvg;a(Lvh;)V
intermediary method_12697
Lnet/minecraft/class_2933;method_12697(Lnet/minecraft/class_2935;)V
named onPing
Lnet/minecraft/network/listener/ServerQueryPacketListener;onPing(Lnet/minecraft/network/packet/c2s/query/QueryPingC2SPacket;)V
-