net.minecraft.server.network

public class ServerStatusPacketListenerImpl

implements ServerStatusPacketListener

ato
net.minecraft.server.network.ServerStatusPacketListenerImpl
net.minecraft.class_3251
net.minecraft.server.network.ServerQueryNetworkHandler
net.minecraft.server.network.PacketStatusListener

Field summary

Modifier and TypeField
private static final Component
b
DISCONNECT_REASON
field_14179
REQUEST_HANDLED
private final ServerStatus
c
status
field_42544
metadata
private final Connection
d
connection
field_14178
connection
private boolean
e
hasRequestedStatus
field_14177
responseSent

Constructor summary

ModifierConstructor
public (ServerStatus metadata, Connection connection)

Method summary

Modifier and TypeMethod
public void
a(wr arg0)
onDisconnect(DisconnectionDetails arg0)
method_10839(class_9812 arg0)
onDisconnected(DisconnectionInfo arg0)
public boolean
c()
isAcceptingMessages()
method_48106()
isConnectionOpen()
public void
a(aky arg0)
handleStatusRequest(ServerboundStatusRequestPacket arg0)
method_12698(class_2937 arg0)
onRequest(QueryRequestC2SPacket arg0)
public void
a(aks arg0)
handlePingRequest(ServerboundPingRequestPacket arg0)
method_12697(class_2935 arg0)
onQueryPing(QueryPingC2SPacket arg0)