net.minecraft.server.network

public class ServerStatusPacketListenerImpl

implements ServerStatusPacketListener

aog
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
a
DISCONNECT_REASON
field_14179
REQUEST_HANDLED
f_10081_
private final ServerStatus
b
status
field_42544
metadata
f_271204_
private final Connection
c
connection
field_14178
connection
f_10083_
private boolean
d
hasRequestedStatus
field_14177
responseSent
f_10084_

Constructor summary

ModifierConstructor
public (ServerStatus metadata, Connection connection)

Method summary

Modifier and TypeMethod
public void
a(vf arg0)
onDisconnect(Component arg0)
method_10839(class_2561 arg0)
onDisconnected(Text arg0)
m_7026_(C_4996_ arg0)
public boolean
c()
isAcceptingMessages()
method_48106()
isConnectionOpen()
m_6198_()
public void
a(agk arg0)
handleStatusRequest(ServerboundStatusRequestPacket arg0)
method_12698(class_2937 arg0)
onRequest(QueryRequestC2SPacket arg0)
m_6733_(C_5224_ arg0)
public void
a(agj arg0)
handlePingRequest(ServerboundPingRequestPacket arg0)
method_12697(class_2935 arg0)
onQueryPing(QueryPingC2SPacket arg0)
m_10092_(C_5223_ arg0)