net.minecraft.server.network

public abstract class ServerCommonPacketListenerImpl

implements ServerCommonPacketListener

alm
net.minecraft.server.network.ServerCommonPacketListenerImpl
net.minecraft.class_8609
net.minecraft.server.network.ServerCommonNetworkHandler
net.minecraft.src.C_290281_
net.minecraft.server.network.ServerCommonPacketListenerImpl

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
d
LOGGER
field_45014
LOGGER
f_291096_
public static final int
a
LATENCY_CHECK_INTERVAL
field_45011
KEEP_ALIVE_INTERVAL
f_290500_
private static final Component
e
TIMEOUT_DISCONNECTION_MESSAGE
field_45015
TIMEOUT_TEXT
f_290625_
protected final MinecraftServer
b
server
field_45012
server
f_291389_
protected final Connection
c
connection
field_45013
connection
f_291338_
private long
f
keepAliveTime
field_45016
lastKeepAliveTime
f_290835_
private boolean
g
keepAlivePending
field_45017
waitingForKeepAlive
f_291554_
private long
h
keepAliveChallenge
field_45018
keepAliveId
f_291155_
private int
i
latency
field_45019
latency
f_291042_
private volatile boolean
j
suspendFlushingOnServerThread
field_45715
flushDisabled
f_290367_

Constructor summary

ModifierConstructor
public (MinecraftServer server, Connection connection, CommonListenerCookie clientData)

Method summary

Modifier and TypeMethod
public void
a(tl arg0)
onDisconnect(Component arg0)
method_10839(class_2561 arg0)
onDisconnected(Text arg0)
m_7026_(C_4996_ arg0)
public void
a(vq arg0)
handleKeepAlive(ServerboundKeepAlivePacket arg0)
method_52393(class_2827 arg0)
onKeepAlive(KeepAliveC2SPacket arg0)
m_295033_(C_290227_ arg0)
public void
a(vr arg0)
handlePong(ServerboundPongPacket arg0)
method_52394(class_6374 arg0)
onPong(CommonPongC2SPacket arg0)
m_293596_(C_290117_ arg0)
public void
a(vp arg0)
handleCustomPayload(ServerboundCustomPayloadPacket arg0)
method_52392(class_2817 arg0)
onCustomPayload(CustomPayloadC2SPacket arg0)
m_293234_(C_290168_ arg0)
public void
a(vs arg0)
handleResourcePackResponse(ServerboundResourcePackPacket arg0)
method_52395(class_2856 arg0)
onResourcePackStatus(ResourcePackStatusC2SPacket arg0)
m_293248_(C_290193_ arg0)
protected void
f()
keepConnectionAlive()
method_52400()
baseTick()
m_295188_()
public void
g()
suspendFlushing()
method_53046()
disableFlush()
m_295499_()
public void
h()
resumeFlushing()
method_53047()
enableFlush()
m_293169_()
public void
b(vd<?> arg0)
send(Packet<?> arg0)
method_14364(class_2596<?> arg0)
sendPacket(Packet<?> packet)
m_141995_(C_5028_<?> arg0)
public void
a(vd<?> arg0, sv arg1)
send(Packet<?> arg0, PacketSendListener arg1)
method_52391(class_2596<?> arg0, class_7648 arg1)
send(Packet<?> packet, PacketCallbacks callbacks)
m_295553_(C_5028_<?> p_301165_, C_242986_ arg1)
public void
b(tl arg0)
disconnect(Component arg0)
method_52396(class_2561 arg0)
disconnect(Text reason)
m_294716_(C_4996_ arg0)
protected boolean
i()
isSingleplayerOwner()
method_52402()
isHost()
m_293330_()
protected abstract com.mojang.authlib.GameProfile
j()
playerProfile()
method_52403()
getProfile()
m_293343_()
public com.mojang.authlib.GameProfile
k()
getOwner()
method_52404()
getDebugProfile()
m_295644_()
public int
l()
latency()
method_52405()
getLatency()
m_293018_()
protected CommonListenerCookie
a(akf arg0)
createCookie(ClientInformation arg0)
method_53825(class_8791 arg0)
createClientData(SyncedClientOptions syncedOptions)
m_295477_(C_290276_ arg0)