net.minecraft.client.multiplayer

public abstract class ClientCommonPacketListenerImpl

implements ClientCommonPacketListener

fxt
net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl
net.minecraft.class_8673
net.minecraft.unmapped.C_xcfjcqcn
net.minecraft.client.network.ClientCommonNetworkHandler
net.minecraft.client.network.AbstractClientNetworkHandler
net.minecraft.src.C_290116_

Field summary

Modifier and TypeField
private static final Component
j
GENERIC_DISCONNECT_MESSAGE
field_45594
f_qcgabfsl
LOST_CONNECTION_TEXT
CONNECTION_LOST
f_291297_
private static final org.slf4j.Logger
k
LOGGER
field_45944
f_ufirzrks
LOGGER
LOGGER
f_290426_
protected final Minecraft
a
minecraft
field_45588
f_cvluqnfz
client
client
f_291812_
protected final Connection
b
connection
field_45589
f_ixguppmf
connection
connection
f_290549_
protected final ServerData
c
serverData
field_45590
f_epofvvju
serverInfo
serverInfo
f_291024_
protected String
d
serverBrand
field_45591
f_lhgeaaaz
brand
serverBrand
f_291180_
protected final WorldSessionTelemetryManager
e
telemetryManager
field_45592
f_utwrhkbc
worldSession
telemetryManager
f_291019_
protected final Screen
f
postDisconnectScreen
field_45593
f_ruhiglgi
postDisconnectScreen
postDisconnectScreen
f_291028_
protected boolean
g
isTransferring
field_51516
f_zzouahkl
transferring
f_313904_
protected final boolean
h
strictErrorHandling
field_51520
f_ifbkjylc
strictErrorHandling
f_316112_
private final List<ClientCommonPacketListenerImpl$DeferredPacket>
l
deferredPackets
field_45595
f_kjyjkrbj
queuedPackets
deferredPackets
f_291530_
protected final Map<ResourceLocation, byte[]>
i
serverCookies
field_48399
f_cxiqwwpi
serverCookies
serverCookies
f_316471_

Constructor summary

ModifierConstructor
protected (Minecraft client, Connection connection, CommonListenerCookie connectionState)

Method summary

Modifier and TypeMethod
public void
a(zw arg0, Exception arg1)
onPacketError(Packet arg0, Exception arg1)
method_59807(class_2596 arg0, Exception arg1)
m_jelicxwl(C_zyjtrjrl arg0, Exception arg1)
onPacketException(Packet arg0, Exception arg1)
m_jelicxwl(Packet arg0, Exception arg1)
m_322364_(C_5028_ p_332903_, Exception arg1)
public boolean
a(zw<?> arg0)
shouldHandleMessage(Packet<?> arg0)
method_52413(class_2596<?> arg0)
m_yyjbzspg(C_zyjtrjrl<?> arg0)
accepts(Packet<?> arg0)
shouldAccept(Packet<?> arg0)
m_294638_(C_5028_<?> arg0)
public void
a(aaf arg0)
handleKeepAlive(ClientboundKeepAlivePacket arg0)
method_52782(class_2670 arg0)
m_xlfgdnee(C_bwdhswrk arg0)
onKeepAlive(KeepAliveS2CPacket arg0)
onKeepConnectionAlive(KeepConnectionAliveS2CPacket arg0)
m_292764_(C_290206_ arg0)
public void
a(aag arg0)
handlePing(ClientboundPingPacket arg0)
method_52783(class_6373 arg0)
m_knvwllkb(C_ioetakvl arg0)
onPing(CommonPingS2CPacket arg0)
onPlayPing(PingS2CPacket arg0)
m_293992_(C_290144_ arg0)
public void
a(aad arg0)
handleCustomPayload(ClientboundCustomPayloadPacket arg0)
method_52780(class_2658 arg0)
m_sggenrss(C_spbiyfem arg0)
onCustomPayload(CustomPayloadS2CPacket arg0)
onCustomPayload(CustomPayloadS2CPacket arg0)
m_293213_(C_290073_ arg0)
protected abstract void
a(aax arg0)
handleCustomPayload(CustomPacketPayload arg0)
method_11152(class_8710 arg0)
m_zsokzpat(C_oqfbzhlw arg0)
onCustomPayload(CustomPayload payload)
handleCustomPayload(CustomPayload payload)
m_105003_(C_290145_ arg0)
public void
a(aai arg0)
handleResourcePackPush(ClientboundResourcePackPushPacket arg0)
method_52784(class_2720 arg0)
m_wypozfsc(C_zhbijmex arg0)
onResourcePackSend(ResourcePackSendS2CPacket arg0)
onAddResourcePack(AddResourcePackS2CPacket arg0)
m_305543_(C_302038_ arg0)
public void
a(aah arg0)
handleResourcePackPop(ClientboundResourcePackPopPacket arg0)
method_55512(class_9053 arg0)
m_qiepscls(C_oqtajlfp arg0)
onResourcePackRemove(ResourcePackRemoveS2CPacket arg0)
onRemoveResourcePack(RemoveResourcePackS2CPacket arg0)
m_292941_(C_302082_ arg0)
static Component
a(xp arg0, xp arg1)
preparePackPrompt(Component arg0, Component arg1)
method_52778(class_2561 arg0, class_2561 arg1)
m_gmmwbpns(C_rdaqiwdt arg0, C_rdaqiwdt arg1)
getPrompt(Text requirementPrompt, Text customPrompt)
composePackPrompt(Text info, Text prompt)
m_294992_(C_4996_ p_299226_, C_4996_ p_298885_)
private static URL
a(String arg0)
parseResourcePackUrl(String arg0)
method_52773(String arg0)
m_pichzrup(String arg0)
getParsedResourcePackUrl(String url)
parseResourcePackUrl(String url)
m_295112_(String p_298850_)
public void
a(acd arg0)
handleRequestCookie(ClientboundCookieRequestPacket arg0)
method_55845(class_9088 arg0)
m_djwlpzel(C_qzrzlrmt arg0)
onCookieRequest(CookieRequestS2CPacket arg0)
onCookieRequest(CookieRequestS2CPacket arg0)
m_320309_(C_313630_ arg0)
public void
a(aaj arg0)
handleStoreCookie(ClientboundStoreCookiePacket arg0)
method_56149(class_9150 arg0)
m_dzufcskj(C_zvhlgoec arg0)
onStoreCookie(StoreCookieS2CPacket arg0)
onStoreCookie(StoreCookieS2CPacket arg0)
m_320373_(C_313735_ arg0)
public void
a(aak arg0)
handleTransfer(ClientboundTransferPacket arg0)
method_56150(class_9151 arg0)
m_zagznocx(C_azcofhim arg0)
onServerTransfer(ServerTransferS2CPacket arg0)
onTransfer(TransferS2CPacket arg0)
m_319408_(C_313391_ arg0)
public void
a(aae arg0)
handleDisconnect(ClientboundDisconnectPacket arg0)
method_52781(class_2661 arg0)
m_rypoqduh(C_xcpuaily arg0)
onDisconnect(DisconnectS2CPacket arg0)
onDisconnect(DisconnectS2CPacket arg0)
m_293975_(C_290230_ arg0)
protected void
e()
sendDeferredPackets()
method_52789()
m_lorzoqvg()
sendQueuedPackets()
sendDeferredPackets()
m_295826_()
public void
b(zw<?> arg0)
send(Packet<?> arg0)
method_52787(class_2596<?> arg0)
m_yevxfrxd(C_zyjtrjrl<?> arg0)
sendPacket(Packet<?> packet)
send(Packet<?> packet)
m_295327_(C_5028_<?> arg0)
public void
a(xp arg0)
onDisconnect(Component arg0)
method_10839(class_2561 arg0)
m_wtlhyems(C_rdaqiwdt arg0)
onDisconnected(Text arg0)
onDisconnected(Text arg0)
m_7026_(C_4996_ arg0)
public void
a(p arg0)
fillListenerSpecificCrashDetails(CrashReportCategory arg0)
method_55597(class_129 arg0)
m_ksdgvxqp(C_qympisds arg0)
addCustomCrashReportInfo(CrashReportSection arg0)
addCrashReportInfo(CrashReportSection arg0)
m_306579_(C_4909_ arg0)
protected Screen
b(xp arg0)
createDisconnectScreen(Component arg0)
method_52786(class_2561 arg0)
m_zwgetqya(C_rdaqiwdt arg0)
createDisconnectedScreen(Text reason)
createDisconnectScreen(Text reason)
m_295606_(C_4996_ arg0)
public String
f()
serverBrand()
method_52790()
m_hqbzscmo()
getBrand()
getServerBrand()
m_295034_()
private void
a(zw<? extends xb> arg0, BooleanSupplier arg1, Duration arg2)
sendWhen(Packet<? extends ServerboundPacketListener> arg0, BooleanSupplier arg1, Duration arg2)
method_52779(class_2596<? extends class_8701> arg0, BooleanSupplier arg1, Duration arg2)
m_fhwlneml(C_zyjtrjrl<? extends C_lpmetgbe> arg0, BooleanSupplier arg1, Duration arg2)
send(Packet<? extends ServerPacketListener> packet, BooleanSupplier sendCondition, Duration expiry)
sendWhen(Packet<? extends ServerPacketListener> packet, BooleanSupplier sendCondition, Duration expirationTime)
m_292916_(C_5028_<? extends C_290289_> p_299754_, BooleanSupplier p_299011_, Duration arg2)
private Screen
a(UUID arg0, URL arg1, String arg2, boolean arg3, xp arg4)
addOrUpdatePackPrompt(UUID arg0, URL arg1, String arg2, boolean arg3, Component arg4)
method_55609(UUID arg0, URL arg1, String arg2, boolean arg3, class_2561 arg4)
m_uednupdt(UUID arg0, URL arg1, String arg2, boolean arg3, C_rdaqiwdt arg4)
createConfirmServerResourcePackScreen(UUID id, URL url, String hash, boolean required, Text prompt)
m_uednupdt(UUID uuid, URL url, String arg2, boolean arg3, Text arg4)
m_306760_(UUID p_312880_, URL p_309420_, String p_312218_, boolean p_309535_, C_4996_ arg4)