Uses of Interface
net.minecraft.network.listener.ServerPacketListener
Packages that use ServerPacketListener
Package
Description
The base package for all Minecraft classes.
-
Uses of ServerPacketListener in net.minecraft
Subinterfaces of ServerPacketListener in net.minecraftMethods in net.minecraft with type parameters of type ServerPacketListenerModifier and TypeMethodDescriptionstatic <T extends ServerPacketListener>
class_9127<T>class_9147.method_56451(NetworkState networkState, Consumer<class_9147<T, PacketByteBuf>> consumer) static <T extends ServerPacketListener,B extends ByteBuf>
class_9127.class_9128<T,B> class_9147.method_56457(NetworkState networkState, Consumer<class_9147<T, B>> consumer) -
Uses of ServerPacketListener in net.minecraft.client.network
Fields in net.minecraft.client.network with type parameters of type ServerPacketListenerModifier and TypeFieldDescriptionprivate final Packet<? extends ServerPacketListener>ClientCommonNetworkHandler.QueuedPacket.packetThe field for thepacketrecord component.Methods in net.minecraft.client.network that return types with arguments of type ServerPacketListenerModifier and TypeMethodDescriptionPacket<? extends ServerPacketListener>ClientCommonNetworkHandler.QueuedPacket.packet()Returns the value of thepacketrecord component.Method parameters in net.minecraft.client.network with type arguments of type ServerPacketListenerModifier and TypeMethodDescriptionprivate voidClientCommonNetworkHandler.send(Packet<? extends ServerPacketListener> packet, BooleanSupplier sendCondition, Duration expiry) Constructor parameters in net.minecraft.client.network with type arguments of type ServerPacketListenerModifierConstructorDescription(package private)QueuedPacket(Packet<? extends ServerPacketListener> packet, BooleanSupplier booleanSupplier, long long2) -
Uses of ServerPacketListener in net.minecraft.network
Methods in net.minecraft.network with type parameters of type ServerPacketListenerModifier and TypeMethodDescriptionprivate <S extends ServerPacketListener,C extends ClientPacketListener>
voidClientConnection.connect(String address, int port, class_9127<S> class_9127, class_9127<C> class_91272, C c, ConnectionIntent connectionIntent) <S extends ServerPacketListener,C extends ClientPacketListener>
voidClientConnection.method_56326(String string, int int2, class_9127<S> class_9127, class_9127<C> class_91272, C c, boolean bool) -
Uses of ServerPacketListener in net.minecraft.network.listener
Subinterfaces of ServerPacketListener in net.minecraft.network.listenerModifier and TypeInterfaceDescriptioninterfaceinterfaceinterfaceThe interface for serverbound packet listeners.interfaceinterfaceinterfaceA server side packet listener where play stage packets from a client are processed.interface -
Uses of ServerPacketListener in net.minecraft.server.network
Classes in net.minecraft.server.network that implement ServerPacketListenerModifier and TypeClassDescriptionclassA server handshake network handler that exclusively handles local connections.classclassclassclassThe server login network handler.classclass