net.minecraft.server.network

public abstract class ServerCommonPacketListenerImpl

implements ServerCommonPacketListener

arr
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
f
LOGGER
field_45014
LOGGER
f_291096_
public static final int
b
LATENCY_CHECK_INTERVAL
field_45011
KEEP_ALIVE_INTERVAL
f_290500_
private static final int
g
CLOSED_LISTENER_TIMEOUT
field_51342
TRANSITION_TIMEOUT
f_316947_
private static final Component
h
TIMEOUT_DISCONNECTION_MESSAGE
field_45015
TIMEOUT_TEXT
f_290625_
static final Component
c
DISCONNECT_UNEXPECTED_QUERY
field_48273
UNEXPECTED_QUERY_RESPONSE_TEXT
f_315158_
protected final MinecraftServer
d
server
field_45012
server
f_291389_
protected final Connection
e
connection
field_45013
connection
f_291338_
private final boolean
i
transferred
field_48274
transferred
f_314604_
private long
j
keepAliveTime
field_45016
lastKeepAliveTime
f_290835_
private boolean
k
keepAlivePending
field_45017
waitingForKeepAlive
f_291554_
private long
l
keepAliveChallenge
field_45018
keepAliveId
f_291155_
private long
m
closedListenerTime
field_51343
transitionStartTime
f_313967_
private boolean
n
closed
field_51344
transitioning
f_315218_
private int
o
latency
field_45019
latency
f_291042_
private volatile boolean
p
suspendFlushingOnServerThread
field_45715
flushDisabled
f_290367_

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
l()
close()
method_59512()
markTransitionTime()
m_318670_()
public void
a(vv arg0)
onDisconnect(DisconnectionDetails arg0)
method_10839(class_9812 arg0)
onDisconnected(DisconnectionInfo arg0)
m_7026_(C_336456_ arg0)
public void
a(aac arg0)
handleKeepAlive(ServerboundKeepAlivePacket arg0)
method_52393(class_2827 arg0)
onKeepAlive(KeepAliveC2SPacket arg0)
m_295033_(C_290227_ arg0)
public void
a(aad arg0)
handlePong(ServerboundPongPacket arg0)
method_52394(class_6374 arg0)
onPong(CommonPongC2SPacket arg0)
m_293596_(C_290117_ arg0)
public void
a(aab arg0)
handleCustomPayload(ServerboundCustomPayloadPacket arg0)
method_52392(class_2817 arg0)
onCustomPayload(CustomPayloadC2SPacket arg0)
m_293234_(C_290168_ arg0)
public void
a(aae arg0)
handleResourcePackResponse(ServerboundResourcePackPacket arg0)
method_52395(class_2856 arg0)
onResourcePackStatus(ResourcePackStatusC2SPacket arg0)
m_293248_(C_290193_ arg0)
public void
a(abs arg0)
handleCookieResponse(ServerboundCookieResponsePacket arg0)
method_55851(class_9091 arg0)
onCookieResponse(CookieResponseC2SPacket arg0)
m_320234_(C_313510_ arg0)
protected void
e()
keepConnectionAlive()
method_52400()
baseTick()
m_295188_()
private boolean
a(long arg0)
checkIfClosed(long arg0)
method_59511(long arg0)
checkTransitionTimeout(long time)
m_319110_(long arg0)
public void
f()
suspendFlushing()
method_53046()
disableFlush()
m_295499_()
public void
g()
resumeFlushing()
method_53047()
enableFlush()
m_293169_()
public void
b(zg<?> arg0)
send(Packet<?> arg0)
method_14364(class_2596<?> arg0)
sendPacket(Packet<?> packet)
m_141995_(C_5028_<?> arg0)
public void
a(zg<?> arg0, wg 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
a(wz arg0)
disconnect(Component arg0)
method_52396(class_2561 arg0)
disconnect(Text reason)
m_294716_(C_4996_ arg0)
public void
b(vv arg0)
disconnect(DisconnectionDetails arg0)
method_60673(class_9812 arg0)
disconnect(DisconnectionInfo disconnectionInfo)
m_339179_(C_336456_ arg0)
protected boolean
h()
isSingleplayerOwner()
method_52402()
isHost()
m_293330_()
protected abstract com.mojang.authlib.GameProfile
i()
playerProfile()
method_52403()
getProfile()
m_293343_()
public com.mojang.authlib.GameProfile
j()
getOwner()
method_52404()
getDebugProfile()
m_295644_()
public int
k()
latency()
method_52405()
getLatency()
m_293018_()
protected CommonListenerCookie
a(aqh arg0)
createCookie(ClientInformation arg0)
method_53825(class_8791 arg0)
createClientData(SyncedClientOptions syncedOptions)
m_295477_(C_290276_ arg0)