Uses of Interface
net.minecraft.network.protocol.common.ClientCommonPacketListener
Package
Description
-
Uses of ClientCommonPacketListener in net.minecraft.client.multiplayer
Modifier and TypeClassDescriptionclass
class
class
-
Uses of ClientCommonPacketListener in net.minecraft.network.protocol.common
Modifier and TypeMethodDescriptionvoid
ClientboundCustomPayloadPacket.handle
(ClientCommonPacketListener p_295761_) void
ClientboundDisconnectPacket.handle
(ClientCommonPacketListener p_295529_) void
ClientboundKeepAlivePacket.handle
(ClientCommonPacketListener p_296005_) void
ClientboundPingPacket.handle
(ClientCommonPacketListener p_295189_) void
ClientboundResourcePackPopPacket.handle
(ClientCommonPacketListener p_314440_) void
ClientboundResourcePackPushPacket.handle
(ClientCommonPacketListener p_314609_) void
ClientboundUpdateTagsPacket.handle
(ClientCommonPacketListener p_296193_) -
Uses of ClientCommonPacketListener in net.minecraft.network.protocol.configuration
-
Uses of ClientCommonPacketListener in net.minecraft.network.protocol.game
-
Uses of ClientCommonPacketListener in net.neoforged.neoforge.common.extensions
Modifier and TypeMethodDescriptionprivate ClientCommonPacketListener
IClientCommonPacketListenerExtension.self()
Returns the ClientCommonPacketListener this extension is attached to. -
Uses of ClientCommonPacketListener in net.neoforged.neoforge.network.bundle
Modifier and TypeClassDescriptionclass
-
Uses of ClientCommonPacketListener in net.neoforged.neoforge.network.registration
Modifier and TypeFieldDescriptionprivate final ClientCommonPacketListener
NetworkRegistry.ClientPacketHandler.listener
The field for thelistener
record component.Modifier and TypeMethodDescriptionNetworkRegistry.ClientPacketHandler.listener()
Returns the value of thelistener
record component.Modifier and TypeMethodDescriptionboolean
NetworkRegistry.canSendPacket
(Packet<?> packet, ClientCommonPacketListener listener) Indicates if the given packet can be sent via the given listener.boolean
NetworkRegistry.isConnected
(ClientCommonPacketListener listener, ResourceLocation payloadId) Indicates whether the client listener has a connection setup that can transmit the given payload id.boolean
NetworkRegistry.onModdedPacketAtClient
(ClientCommonPacketListener listener, ClientboundCustomPayloadPacket packet) Invoked by aClientCommonPacketListener
when a modded packet is received on a modded connection that is not natively known to the vanilla code base.private static <T extends PacketListener>
voidNetworkRegistry.ClientPacketHandler.resolvePacketGenerics
(Packet<T> packet, ClientCommonPacketListener listener) ModifierConstructorDescriptionprivate
Creates an instance of aClientPacketHandler
record class. -
Uses of ClientCommonPacketListener in net.neoforged.testframework.gametest
Modifier and TypeMethodDescription<T extends Packet<? extends ClientCommonPacketListener>>
Stream<T>GameTestPlayer.getOutboundPackets
(Class<T> type) Modifier and TypeMethodDescriptionprivate Stream<Packet<? extends ClientCommonPacketListener>>
GameTestPlayer.outboundPackets()