net.minecraft.server.network

public class ServerStatusPacketListenerImpl

implements ServerStatusPacketListener

acn
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 MinecraftServer
b
server
field_14180
server
f_10082_
private final Connection
c
connection
field_14178
connection
f_10083_
private boolean
d
hasRequestedStatus
field_14177
responseSent
f_10084_

Constructor summary

ModifierConstructor
public (MinecraftServer server, Connection connection)

Method summary

Modifier and TypeMethod
public void
a(os arg0)
onDisconnect(Component arg0)
method_10839(class_2561 arg0)
onDisconnected(Text arg0)
m_7026_(C_4996_ arg0)
public Connection
a()
getConnection()
method_2872()
getConnection()
m_6198_()
public void
a(wd arg0)
handleStatusRequest(ServerboundStatusRequestPacket arg0)
method_12698(class_2937 arg0)
onRequest(QueryRequestC2SPacket arg0)
m_6733_(C_5224_ arg0)
public void
a(wc arg0)
handlePingRequest(ServerboundPingRequestPacket arg0)
method_12697(class_2935 arg0)
onPing(QueryPingC2SPacket arg0)
m_7883_(C_5223_ arg0)