net.minecraft.client.multiplayer

public abstract class ClientCommonPacketListenerImpl

implements ClientCommonPacketListener

fiu
net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl
net.minecraft.class_8673
net.minecraft.client.network.ClientCommonNetworkHandler
net.minecraft.src.C_290116_

Field summary

Modifier and TypeField
private static final Component
g
GENERIC_DISCONNECT_MESSAGE
field_45594
LOST_CONNECTION_TEXT
f_291297_
private static final org.slf4j.Logger
h
LOGGER
field_45944
LOGGER
f_290426_
protected final Minecraft
a
minecraft
field_45588
client
f_291812_
protected final Connection
b
connection
field_45589
connection
f_290549_
protected final ServerData
c
serverData
field_45590
serverInfo
f_291024_
protected String
d
serverBrand
field_45591
brand
f_291180_
protected final WorldSessionTelemetryManager
e
telemetryManager
field_45592
worldSession
f_291019_
protected final Screen
f
postDisconnectScreen
field_45593
postDisconnectScreen
f_291028_
private final List<ClientCommonPacketListenerImpl$DeferredPacket>
i
deferredPackets
field_45595
queuedPackets
f_291530_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(vj arg0)
handleKeepAlive(ClientboundKeepAlivePacket arg0)
method_52782(class_2670 arg0)
onKeepAlive(KeepAliveS2CPacket arg0)
m_292764_(C_290206_ arg0)
public void
a(vk arg0)
handlePing(ClientboundPingPacket arg0)
method_52783(class_6373 arg0)
onPing(CommonPingS2CPacket arg0)
m_293992_(C_290144_ arg0)
public void
a(vh arg0)
handleCustomPayload(ClientboundCustomPayloadPacket arg0)
method_52780(class_2658 arg0)
onCustomPayload(CustomPayloadS2CPacket arg0)
m_293213_(C_290073_ arg0)
protected abstract void
a(vw arg0)
handleCustomPayload(CustomPacketPayload arg0)
method_11152(class_8710 arg0)
onCustomPayload(CustomPayload payload)
m_105003_(C_290145_ arg0)
protected abstract RegistryAccess$Frozen
f()
registryAccess()
method_29091()
getRegistryManager()
m_105152_()
public void
a(vl arg0)
handleResourcePack(ClientboundResourcePackPacket arg0)
method_52784(class_2720 arg0)
onResourcePackSend(ResourcePackSendS2CPacket arg0)
m_292941_(C_290278_ arg0)
private void
a(URL arg0, String arg1, boolean arg2, tl arg3)
showServerPackPrompt(URL arg0, String arg1, boolean arg2, Component arg3)
method_52775(URL arg0, String arg1, boolean arg2, class_2561 arg3)
showPackConfirmationScreen(URL packUrl, String sha1, boolean required, Text prompt)
m_295892_(URL p_297795_, String p_297484_, boolean p_300186_, C_4996_ arg3)
private static Component
a(tl arg0, tl arg1)
preparePackPrompt(Component arg0, Component arg1)
method_52778(class_2561 arg0, class_2561 arg1)
getPrompt(Text requirementPrompt, Text customPrompt)
m_294992_(C_4996_ p_299226_, C_4996_ p_298885_)
private static URL
a(String arg0)
parseResourcePackUrl(String arg0)
method_52773(String arg0)
getParsedResourcePackUrl(String url)
m_295112_(String p_298850_)
private void
a(CompletableFuture<?> arg0)
packApplicationCallback(CompletableFuture<?> arg0)
method_52777(CompletableFuture<?> arg0)
sendResourcePackStatusAfter(CompletableFuture<?> future)
m_294017_(CompletableFuture<?> arg0)
public void
a(vm arg0)
handleUpdateTags(ClientboundUpdateTagsPacket arg0)
method_11126(class_2790 arg0)
onSynchronizeTags(SynchronizeTagsS2CPacket arg0)
m_105133_(C_290080_ arg0)
private <T> void
a(aev<? extends hq<? extends T>> arg0, aqk$a arg1)
updateTagsForRegistry(ResourceKey<? extends Registry<? extends T>> arg0, TagNetworkSerialization$NetworkPayload arg1)
method_52771(class_5321<? extends class_2378<? extends T>> arg0, class_6864$class_5748 arg1)
handleSynchronizedTagGroup(RegistryKey<? extends Registry<? extends T>> registryRef, TagPacketSerializer$Serialized tags)
m_294832_(C_5264_<? extends C_4705_<? extends T>> p_297701_, C_203210_$C_203211_ arg1)
private void
a(vs$a arg0)
send(ServerboundResourcePackPacket$Action arg0)
method_52785(class_2856$class_2857 arg0)
sendResourcePackStatus(ResourcePackStatusC2SPacket$Status status)
m_294472_(C_290193_$C_290069_ arg0)
public void
a(vi arg0)
handleDisconnect(ClientboundDisconnectPacket arg0)
method_52781(class_2661 arg0)
onDisconnect(DisconnectS2CPacket arg0)
m_293975_(C_290230_ arg0)
protected void
g()
sendDeferredPackets()
method_52789()
sendQueuedPackets()
m_295826_()
public void
b(vd<?> arg0)
send(Packet<?> arg0)
method_52787(class_2596<?> arg0)
sendPacket(Packet<?> packet)
m_295327_(C_5028_<?> arg0)
public void
a(tl arg0)
onDisconnect(Component arg0)
method_10839(class_2561 arg0)
onDisconnected(Text arg0)
m_7026_(C_4996_ arg0)
protected Screen
b(tl arg0)
createDisconnectScreen(Component arg0)
method_52786(class_2561 arg0)
createDisconnectedScreen(Text reason)
m_295606_(C_4996_ arg0)
public String
h()
serverBrand()
method_52790()
getBrand()
m_295034_()
private void
a(vd<? extends sy> 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)
m_292916_(C_5028_<? extends C_290289_> p_299754_, BooleanSupplier p_299011_, Duration arg2)