Uses of Interface
net.minecraft.network.listener.PacketListener
Packages that use PacketListener
Package
Description
-
Uses of PacketListener in net.minecraft.client.network
Classes in net.minecraft.client.network that implement PacketListener -
Uses of PacketListener in net.minecraft.network
Classes in net.minecraft.network with type parameters of type PacketListenerModifier and TypeClassDescriptionprivate static classNetworkState.PacketHandler<T extends PacketListener>interfacePacket<T extends PacketListener>Fields in net.minecraft.network declared as PacketListenerMethods in net.minecraft.network with type parameters of type PacketListenerModifier and TypeMethodDescriptionstatic <T extends PacketListener>
voidNetworkThreadUtils.forceMainThread(Packet<T> packet, T listener, ServerWorld world) static <T extends PacketListener>
voidNetworkThreadUtils.forceMainThread(Packet<T> packet, T listener, ThreadExecutor<?> engine) private static <T extends PacketListener>
voidClientConnection.handlePacket(Packet<T> packet, PacketListener listener) NetworkState.PacketHandlerInitializer.setup(NetworkSide side, NetworkState.PacketHandler<T> handler) Methods in net.minecraft.network that return PacketListenerMethods in net.minecraft.network with parameters of type PacketListenerModifier and TypeMethodDescriptionprivate static <T extends PacketListener>
voidClientConnection.handlePacket(Packet<T> packet, PacketListener listener) voidClientConnection.setPacketListener(PacketListener listener) Sets the packet listener that will handle oncoming packets, including ones that are not yet handled by the current packet listener. -
Uses of PacketListener in net.minecraft.network.listener
Subinterfaces of PacketListener in net.minecraft.network.listenerModifier and TypeInterfaceDescriptioninterfaceinterfaceA client side packet listener where play stage packets from the server are processed.interfaceinterfaceinterfaceinterfaceThe base interface for serverbound packet listeners.interfaceA server side packet listener where play stage packets from a client are processed.interfaceinterface -
Uses of PacketListener in net.minecraft.server.network
Classes in net.minecraft.server.network that implement PacketListenerModifier and TypeClassDescriptionclassA server handshake network handler that exclusively handles local connections.classclassThe server login network handler.classclass