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 abrintermediary net/minecraft/class_3251named net/minecraft/server/network/ServerQueryNetworkHandler
-
Field Summary
Fields Modifier and Type Field Description private ClientConnectionconnectionprivate static TextREQUEST_HANDLEDprivate booleanresponseSentprivate MinecraftServerserver -
Constructor Summary
Constructors Constructor Description ServerQueryNetworkHandler(MinecraftServer server, ClientConnection connection) -
Method Summary
Modifier and Type Method Description ClientConnectiongetConnection()voidonDisconnected(Text reason)voidonPing(QueryPingC2SPacket packet)voidonRequest(QueryRequestC2SPacket packet)
-
Field Details
-
REQUEST_HANDLED
- Mappings:
Namespace Name Mixin selector official aLabr;a:Loi;intermediary field_14179Lnet/minecraft/class_3251;field_14179:Lnet/minecraft/class_2561;named REQUEST_HANDLEDLnet/minecraft/server/network/ServerQueryNetworkHandler;REQUEST_HANDLED:Lnet/minecraft/text/Text;
-
server
- Mappings:
Namespace Name Mixin selector official bLabr;b:Lnet/minecraft/server/MinecraftServer;intermediary field_14180Lnet/minecraft/class_3251;field_14180:Lnet/minecraft/server/MinecraftServer;named serverLnet/minecraft/server/network/ServerQueryNetworkHandler;server:Lnet/minecraft/server/MinecraftServer;
-
connection
- Mappings:
Namespace Name Mixin selector official cLabr;c:Lnu;intermediary field_14178Lnet/minecraft/class_3251;field_14178:Lnet/minecraft/class_2535;named connectionLnet/minecraft/server/network/ServerQueryNetworkHandler;connection:Lnet/minecraft/network/ClientConnection;
-
responseSent
private boolean responseSent- Mappings:
Namespace Name Mixin selector official dLabr;d:Zintermediary field_14177Lnet/minecraft/class_3251;field_14177:Znamed responseSentLnet/minecraft/server/network/ServerQueryNetworkHandler;responseSent:Z
-
-
Constructor Details
-
ServerQueryNetworkHandler
- Mappings:
Namespace Name Mixin selector official <init>Labr;<init>(Lnet/minecraft/server/MinecraftServer;Lnu;)Vintermediary <init>Lnet/minecraft/class_3251;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_2535;)Vnamed <init>Lnet/minecraft/server/network/ServerQueryNetworkHandler;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/network/ClientConnection;)V
-
-
Method Details
-
onDisconnected
- Specified by:
onDisconnectedin interfacePacketListener- Mappings:
Namespace Name Mixin selector official aLnz;a(Loi;)Vintermediary method_10839Lnet/minecraft/class_2547;method_10839(Lnet/minecraft/class_2561;)Vnamed onDisconnectedLnet/minecraft/network/listener/PacketListener;onDisconnected(Lnet/minecraft/text/Text;)V
-
getConnection
- Specified by:
getConnectionin interfacePacketListener- Mappings:
Namespace Name Mixin selector official aLnz;a()Lnu;intermediary method_2872Lnet/minecraft/class_2547;method_2872()Lnet/minecraft/class_2535;named getConnectionLnet/minecraft/network/listener/PacketListener;getConnection()Lnet/minecraft/network/ClientConnection;
-
onRequest
- Specified by:
onRequestin interfaceServerQueryPacketListener- Mappings:
Namespace Name Mixin selector official aLvg;a(Lvi;)Vintermediary method_12698Lnet/minecraft/class_2933;method_12698(Lnet/minecraft/class_2937;)Vnamed onRequestLnet/minecraft/network/listener/ServerQueryPacketListener;onRequest(Lnet/minecraft/network/packet/c2s/query/QueryRequestC2SPacket;)V
-
onPing
- Specified by:
onPingin interfaceServerQueryPacketListener- Mappings:
Namespace Name Mixin selector official aLvg;a(Lvh;)Vintermediary method_12697Lnet/minecraft/class_2933;method_12697(Lnet/minecraft/class_2935;)Vnamed onPingLnet/minecraft/network/listener/ServerQueryPacketListener;onPing(Lnet/minecraft/network/packet/c2s/query/QueryPingC2SPacket;)V
-