net.minecraft.server.network

public class ServerStatusPacketListenerImpl

implements ServerStatusPacketListener

ary
net.minecraft.server.network.ServerStatusPacketListenerImpl
net.minecraft.class_3251
net.minecraft.server.network.ServerQueryNetworkHandler
net.minecraft.src.C_40_
net.minecraft.server.network.PacketStatusListener

Field summary

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

Constructor summary

ModifierConstructor
public (ServerStatus metadata, Connection connection)

Method summary

Modifier and TypeMethod
public void
a(vv arg0)
onDisconnect(DisconnectionDetails arg0)
method_10839(class_9812 arg0)
onDisconnected(DisconnectionInfo arg0)
m_7026_(C_336456_ arg0)
public boolean
c()
isAcceptingMessages()
method_48106()
isConnectionOpen()
m_6198_()
public void
a(ajs arg0)
handleStatusRequest(ServerboundStatusRequestPacket arg0)
method_12698(class_2937 arg0)
onRequest(QueryRequestC2SPacket arg0)
m_6733_(C_5224_ arg0)
public void
a(ajm arg0)
handlePingRequest(ServerboundPingRequestPacket arg0)
method_12697(class_2935 arg0)
onQueryPing(QueryPingC2SPacket arg0)
m_10092_(C_313334_ arg0)