Package net.minecraft.server.network
Class ServerQueryNetworkHandler
java.lang.Object
net.minecraft.server.network.ServerQueryNetworkHandler
- All Implemented Interfaces:
PacketListener,ServerQueryPacketListener
- Mappings:
Namespace Name official mfintermediary net/minecraft/class_2115named net/minecraft/server/network/ServerQueryNetworkHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Textprivate final ClientConnectionprivate booleanprivate final MinecraftServer -
Constructor Summary
ConstructorsConstructorDescriptionServerQueryNetworkHandler(MinecraftServer minecraftServer, ClientConnection clientConnection) -
Method Summary
Modifier and TypeMethodDescriptionvoidonDisconnected(Text reason) voidonPing(QueryPingC2SPacket packet) voidonRequest(QueryRequestC2SPacket packet)
-
Field Details
-
field_11784
- Mappings:
Namespace Name Mixin selector official aLmf;a:Lew;intermediary field_11784Lnet/minecraft/class_2115;field_11784:Lnet/minecraft/class_1982;named field_11784Lnet/minecraft/server/network/ServerQueryNetworkHandler;field_11784:Lnet/minecraft/text/Text;
-
server
- Mappings:
Namespace Name Mixin selector official bLmf;b:Lnet/minecraft/server/MinecraftServer;intermediary field_8969Lnet/minecraft/class_2115;field_8969:Lnet/minecraft/server/MinecraftServer;named serverLnet/minecraft/server/network/ServerQueryNetworkHandler;server:Lnet/minecraft/server/MinecraftServer;
-
field_8970
- Mappings:
Namespace Name Mixin selector official cLmf;c:Lem;intermediary field_8970Lnet/minecraft/class_2115;field_8970:Lnet/minecraft/class_1957;named field_8970Lnet/minecraft/server/network/ServerQueryNetworkHandler;field_8970:Lnet/minecraft/network/ClientConnection;
-
responseSent
private boolean responseSent- Mappings:
Namespace Name Mixin selector official dLmf;d:Zintermediary field_11785Lnet/minecraft/class_2115;field_11785:Znamed responseSentLnet/minecraft/server/network/ServerQueryNetworkHandler;responseSent:Z
-
-
Constructor Details
-
ServerQueryNetworkHandler
public ServerQueryNetworkHandler(MinecraftServer minecraftServer, ClientConnection clientConnection)
-
-
Method Details
-
onDisconnected
- Specified by:
onDisconnectedin interfacePacketListener- Mappings:
Namespace Name Mixin selector official aLer;a(Lew;)Vintermediary method_7456Lnet/minecraft/class_701;method_7456(Lnet/minecraft/class_1982;)Vnamed onDisconnectedLnet/minecraft/network/listener/PacketListener;onDisconnected(Lnet/minecraft/text/Text;)V
-
onRequest
- Specified by:
onRequestin interfaceServerQueryPacketListener- Mappings:
Namespace Name Mixin selector official aLkb;a(Lkd;)Vintermediary method_8090Lnet/minecraft/class_2087;method_8090(Lnet/minecraft/class_2089;)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 aLkb;a(Lkc;)Vintermediary method_8089Lnet/minecraft/class_2087;method_8089(Lnet/minecraft/class_2088;)Vnamed onPingLnet/minecraft/network/listener/ServerQueryPacketListener;onPing(Lnet/minecraft/network/packet/c2s/query/QueryPingC2SPacket;)V
-