net.minecraft.client.multiplayer

public abstract class ClientCommonPacketListenerImpl

implements ClientCommonPacketListener

gfx
net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl
net.minecraft.class_8673
net.minecraft.client.network.ClientCommonNetworkHandler

Field summary

Modifier and TypeField
private static final Component
k
GENERIC_DISCONNECT_MESSAGE
field_45594
LOST_CONNECTION_TEXT
private static final org.slf4j.Logger
l
LOGGER
field_45944
LOGGER
protected final Minecraft
a
minecraft
field_45588
client
protected final Connection
b
connection
field_45589
connection
protected final ServerData
c
serverData
field_45590
serverInfo
protected String
d
serverBrand
field_45591
brand
protected final WorldSessionTelemetryManager
e
telemetryManager
field_45592
worldSession
protected final Screen
f
postDisconnectScreen
field_45593
postDisconnectScreen
protected boolean
g
isTransferring
field_51516
transferring
private final List<ClientCommonPacketListenerImpl$DeferredPacket>
m
deferredPackets
field_45595
queuedPackets
protected final Map<ResourceLocation, byte[]>
h
serverCookies
field_48399
serverCookies
protected Map<String, String>
i
customReportDetails
field_52154
customReportDetails
protected ServerLinks
j
serverLinks
field_52155
serverLinks

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(yw arg0, Exception arg1)
onPacketError(Packet arg0, Exception arg1)
method_59807(class_2596 arg0, Exception arg1)
onPacketException(Packet arg0, Exception arg1)
public DisconnectionDetails
a(wp arg0, Throwable arg1)
createDisconnectionInfo(Component arg0, Throwable arg1)
method_60881(class_2561 arg0, Throwable arg1)
createDisconnectionInfo(Text arg0, Throwable arg1)
private Optional<Path>
a(yw arg0, Throwable arg1)
storeDisconnectionReport(Packet arg0, Throwable arg1)
method_60882(class_2596 arg0, Throwable arg1)
savePacketErrorReport(Packet packet, Throwable exception)
public boolean
a(yw<?> arg0)
shouldHandleMessage(Packet<?> arg0)
method_52413(class_2596<?> arg0)
accepts(Packet<?> arg0)
public void
a(zg arg0)
handleKeepAlive(ClientboundKeepAlivePacket arg0)
method_52782(class_2670 arg0)
onKeepAlive(KeepAliveS2CPacket arg0)
public void
a(zh arg0)
handlePing(ClientboundPingPacket arg0)
method_52783(class_6373 arg0)
onPing(CommonPingS2CPacket arg0)
public void
a(zd arg0)
handleCustomPayload(ClientboundCustomPayloadPacket arg0)
method_52780(class_2658 arg0)
onCustomPayload(CustomPayloadS2CPacket arg0)
protected abstract void
a(zz arg0)
handleCustomPayload(CustomPacketPayload arg0)
method_11152(class_8710 arg0)
onCustomPayload(CustomPayload payload)
public void
a(zj arg0)
handleResourcePackPush(ClientboundResourcePackPushPacket arg0)
method_52784(class_2720 arg0)
onResourcePackSend(ResourcePackSendS2CPacket arg0)
public void
a(zi arg0)
handleResourcePackPop(ClientboundResourcePackPopPacket arg0)
method_55512(class_9053 arg0)
onResourcePackRemove(ResourcePackRemoveS2CPacket arg0)
static Component
a(wp arg0, wp arg1)
preparePackPrompt(Component arg0, Component arg1)
method_52778(class_2561 arg0, class_2561 arg1)
getPrompt(Text requirementPrompt, Text customPrompt)
private static URL
a(String arg0)
parseResourcePackUrl(String arg0)
method_52773(String arg0)
getParsedResourcePackUrl(String url)
public void
a(abg arg0)
handleRequestCookie(ClientboundCookieRequestPacket arg0)
method_55845(class_9088 arg0)
onCookieRequest(CookieRequestS2CPacket arg0)
public void
a(zl arg0)
handleStoreCookie(ClientboundStoreCookiePacket arg0)
method_56149(class_9150 arg0)
onStoreCookie(StoreCookieS2CPacket arg0)
public void
a(ze arg0)
handleCustomReportDetails(ClientboundCustomReportDetailsPacket arg0)
method_60883(class_9814 arg0)
onCustomReportDetails(CustomReportDetailsS2CPacket arg0)
public void
a(zk arg0)
handleServerLinks(ClientboundServerLinksPacket arg0)
method_60884(class_9815 arg0)
onServerLinks(ServerLinksS2CPacket arg0)
public void
a(zm arg0)
handleTransfer(ClientboundTransferPacket arg0)
method_56150(class_9151 arg0)
onServerTransfer(ServerTransferS2CPacket arg0)
public void
a(zf arg0)
handleDisconnect(ClientboundDisconnectPacket arg0)
method_52781(class_2661 arg0)
onDisconnect(DisconnectS2CPacket arg0)
protected void
e()
sendDeferredPackets()
method_52789()
sendQueuedPackets()
public void
b(yw<?> arg0)
send(Packet<?> arg0)
method_52787(class_2596<?> arg0)
sendPacket(Packet<?> packet)
public void
a(vk arg0)
onDisconnect(DisconnectionDetails arg0)
method_10839(class_9812 arg0)
onDisconnected(DisconnectionInfo arg0)
public void
a(o arg0, p arg1)
fillListenerSpecificCrashDetails(CrashReport arg0, CrashReportCategory arg1)
method_55597(class_128 arg0, class_129 arg1)
addCustomCrashReportInfo(CrashReport arg0, CrashReportSection arg1)
protected Screen
b(vk arg0)
createDisconnectScreen(DisconnectionDetails arg0)
method_52786(class_9812 arg0)
createDisconnectedScreen(DisconnectionInfo info)
public String
f()
serverBrand()
method_52790()
getBrand()
private void
a(yw<? extends wb> 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)
send(Packet<? extends ServerPacketListener> packet, BooleanSupplier sendCondition, Duration expiry)
private Screen
a(UUID arg0, URL arg1, String arg2, boolean arg3, wp 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)
createConfirmServerResourcePackScreen(UUID id, URL url, String hash, boolean required, Text prompt)