net.minecraft.server.network

public class ServerStatusPacketListenerImpl

implements ServerStatusPacketListener

abb
net.minecraft.server.network.ServerStatusPacketListenerImpl
net.minecraft.class_3251
net.minecraft.server.network.ServerQueryNetworkHandler
net.minecraft.network.status.ServerStatusNetHandler
net.minecraft.server.v1_16_R2.PacketStatusListener

Field summary

Modifier and TypeField
private static final Component
a
DISCONNECT_REASON
field_14179
REQUEST_HANDLED
field_183007_a
private final MinecraftServer
b
server
field_14180
server
field_147314_a
minecraftServer
private final Connection
c
connection
field_14178
connection
field_147313_b
networkManager
private boolean
d
hasRequestedStatus
field_14177
responseSent
field_183008_d

Constructor summary

ModifierConstructor
public (MinecraftServer server, Connection connection)

Method summary

Modifier and TypeMethod
public void
a(nr arg0)
onDisconnect(Component arg0)
method_10839(class_2561 arg0)
onDisconnected(Text arg0)
func_147231_a(ITextComponent arg0)
public Connection
a()
getConnection()
method_2872()
getConnection()
func_147298_b()
public void
a(uq arg0)
handleStatusRequest(ServerboundStatusRequestPacket arg0)
method_12698(class_2937 arg0)
onRequest(QueryRequestC2SPacket arg0)
func_147312_a(CServerQueryPacket arg0)
public void
a(up arg0)
handlePingRequest(ServerboundPingRequestPacket arg0)
method_12697(class_2935 arg0)
onPing(QueryPingC2SPacket arg0)
func_147311_a(CPingPacket arg0)