Uses of Interface
net.minecraft.network.PacketListener
Packages that use PacketListener
Package
Description
-
Uses of PacketListener in net.minecraft.client.multiplayer
Classes in net.minecraft.client.multiplayer that implement PacketListenerModifier and TypeClassDescriptionclass
class
class
class
-
Uses of PacketListener in net.minecraft.network
Classes in net.minecraft.network with type parameters of type PacketListenerModifier and TypeClassDescriptionclass
PacketDecoder<T extends PacketListener>
Main netty packet decoder.class
PacketEncoder<T extends PacketListener>
Main netty packet encoder.interface
ProtocolInfo<T extends PacketListener>
static interface
ProtocolInfo.Unbound<T extends PacketListener,
B extends io.netty.buffer.ByteBuf> Subinterfaces of PacketListener in net.minecraft.networkModifier and TypeInterfaceDescriptioninterface
interface
interface
Fields in net.minecraft.network declared as PacketListenerModifier and TypeFieldDescriptionprivate PacketListener
Connection.disconnectListener
private PacketListener
Connection.packetListener
The PacketListener instance responsible for processing received packetsMethods in net.minecraft.network with type parameters of type PacketListenerModifier and TypeMethodDescriptionprivate static <T extends PacketListener>
voidConnection.genericsFtw
(Packet<T> pPacket, PacketListener pListener) <T extends PacketListener>
voidConnection.setupInboundProtocol
(ProtocolInfo<T> pProtocolInfo, T pPacketInfo) static <T extends PacketListener>
UnconfiguredPipelineHandler.InboundConfigurationTaskUnconfiguredPipelineHandler.setupInboundProtocol
(ProtocolInfo<T> pProtocolInfo) static <T extends PacketListener>
UnconfiguredPipelineHandler.OutboundConfigurationTaskUnconfiguredPipelineHandler.setupOutboundProtocol
(ProtocolInfo<T> pProtocolInfo) Methods in net.minecraft.network that return PacketListenerMethods in net.minecraft.network with parameters of type PacketListenerModifier and TypeMethodDescriptionprivate static <T extends PacketListener>
voidConnection.genericsFtw
(Packet<T> pPacket, PacketListener pListener) void
Connection.setListenerForServerboundHandshake
(PacketListener pPacketListener) private void
Connection.validateListener
(ProtocolInfo<?> pProtocolInfo, PacketListener pPacketListener) -
Uses of PacketListener in net.minecraft.network.protocol
Classes in net.minecraft.network.protocol with type parameters of type PacketListenerModifier and TypeClassDescriptionclass
BundleDelimiterPacket<T extends PacketListener>
class
BundlePacket<T extends PacketListener>
interface
Packet<T extends PacketListener>
class
ProtocolCodecBuilder<B extends io.netty.buffer.ByteBuf,
L extends PacketListener> class
ProtocolInfoBuilder<T extends PacketListener,
B extends io.netty.buffer.ByteBuf> (package private) static final record
ProtocolInfoBuilder.CodecEntry<T extends PacketListener,
P extends Packet<? super T>, B extends io.netty.buffer.ByteBuf> (package private) static final record
ProtocolInfoBuilder.Implementation<L extends PacketListener>
Methods in net.minecraft.network.protocol with type parameters of type PacketListenerModifier and TypeMethodDescriptionstatic <T extends PacketListener,
P extends BundlePacket<? super T>>
BundlerInfoBundlerInfo.createForPacket
(PacketType<P> pType, Function<Iterable<Packet<? super T>>, P> pBundler, BundleDelimiterPacket<? super T> pPacket) static <T extends PacketListener>
voidPacketUtils.ensureRunningOnSameThread
(Packet<T> pPacket, T pProcessor, ServerLevel pLevel) Ensures that the given packet is handled on the main thread.static <T extends PacketListener>
voidPacketUtils.ensureRunningOnSameThread
(Packet<T> pPacket, T pProcessor, BlockableEventLoop<?> pExecutor) Ensures that the given packet is handled on the main thread.static <T extends PacketListener>
voidPacketUtils.fillCrashReport
(CrashReport pCrashReport, T pPacketListener, Packet<T> pPacket) static <T extends PacketListener>
ReportedExceptionPacketUtils.makeReportedException
(Exception pException, Packet<T> pPacket, T pPacketListener) private static <L extends PacketListener,
B extends io.netty.buffer.ByteBuf>
ProtocolInfo.Unbound<L, B> ProtocolInfoBuilder.protocol
(ConnectionProtocol pProtocol, PacketFlow pFlow, Consumer<ProtocolInfoBuilder<L, B>> pSetup) -
Uses of PacketListener in net.minecraft.network.protocol.common
Subinterfaces of PacketListener in net.minecraft.network.protocol.commonModifier and TypeInterfaceDescriptioninterface
interface
-
Uses of PacketListener in net.minecraft.network.protocol.configuration
Subinterfaces of PacketListener in net.minecraft.network.protocol.configurationModifier and TypeInterfaceDescriptioninterface
interface
-
Uses of PacketListener in net.minecraft.network.protocol.cookie
Subinterfaces of PacketListener in net.minecraft.network.protocol.cookieModifier and TypeInterfaceDescriptioninterface
interface
-
Uses of PacketListener in net.minecraft.network.protocol.game
Subinterfaces of PacketListener in net.minecraft.network.protocol.gameModifier and TypeInterfaceDescriptioninterface
PacketListener for the client side of the PLAY protocol.interface
PacketListener for the server side of the PLAY protocol.interface
-
Uses of PacketListener in net.minecraft.network.protocol.handshake
Subinterfaces of PacketListener in net.minecraft.network.protocol.handshakeModifier and TypeInterfaceDescriptioninterface
PacketListener for the server side of the HANDSHAKING protocol. -
Uses of PacketListener in net.minecraft.network.protocol.login
Subinterfaces of PacketListener in net.minecraft.network.protocol.loginModifier and TypeInterfaceDescriptioninterface
PacketListener for the client side of the LOGIN protocol.interface
PacketListener for the server side of the LOGIN protocol. -
Uses of PacketListener in net.minecraft.network.protocol.ping
Subinterfaces of PacketListener in net.minecraft.network.protocol.pingModifier and TypeInterfaceDescriptioninterface
interface
-
Uses of PacketListener in net.minecraft.network.protocol.status
Subinterfaces of PacketListener in net.minecraft.network.protocol.statusModifier and TypeInterfaceDescriptioninterface
PacketListener for the client side of the STATUS protocol.interface
PacketListener for the server side of the STATUS protocol. -
Uses of PacketListener in net.minecraft.server.network
Classes in net.minecraft.server.network that implement PacketListenerModifier and TypeClassDescriptionclass
class
class
class
class
class
class
-
Uses of PacketListener in net.neoforged.neoforge.common.extensions
Subinterfaces of PacketListener in net.neoforged.neoforge.common.extensionsModifier and TypeInterfaceDescriptioninterface
Extension interface forClientCommonPacketListener
interface
Extension interface and functionality hoist for bothServerCommonPacketListener
andClientCommonPacketListener
.interface
Extension interface forServerCommonPacketListener
interface
Extension class forServerConfigurationPacketListener
interface
Extension class forServerGamePacketListener
-
Uses of PacketListener in net.neoforged.neoforge.common.util
Classes in net.neoforged.neoforge.common.util that implement PacketListenerMethods in net.neoforged.neoforge.common.util with parameters of type PacketListenerModifier and TypeMethodDescriptionvoid
FakePlayer.FakeConnection.setListenerForServerboundHandshake
(PacketListener listener) -
Uses of PacketListener in net.neoforged.neoforge.network.bundle
Methods in net.neoforged.neoforge.network.bundle with type parameters of type PacketListener -
Uses of PacketListener in net.neoforged.neoforge.network.registration
Methods in net.neoforged.neoforge.network.registration with type parameters of type PacketListenerModifier and TypeMethodDescriptionstatic <T extends PacketListener>
List<Packet<?>> NetworkRegistry.filterGameBundlePackets
(io.netty.channel.ChannelHandlerContext context, Iterable<Packet<? super T>> packets) Filters the given packets for a bundle packet in the game phase of the connection.static <T extends PacketListener>
voidNetworkRegistry.handlePacketUnchecked
(Packet<T> packet, PacketListener listener) Methods in net.neoforged.neoforge.network.registration with parameters of type PacketListenerModifier and TypeMethodDescriptionstatic <T extends PacketListener>
voidNetworkRegistry.handlePacketUnchecked
(Packet<T> packet, PacketListener listener)