Uses of Interface
net.minecraft.network.listener.ServerPacketListener
Packages that use ServerPacketListener
Package
Description
-
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.packet
The field for thepacket
record 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 thepacket
record component.Method parameters in net.minecraft.client.network with type arguments of type ServerPacketListenerModifier and TypeMethodDescriptionprivate void
ClientCommonNetworkHandler.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 TypeMethodDescriptionstatic <T extends ServerPacketListener,
B extends ByteBuf>
NetworkState.Factory<T, B> NetworkStateBuilder.c2s
(NetworkPhase type, Consumer<NetworkStateBuilder<T, B>> registrar) <S extends ServerPacketListener,
C extends ClientPacketListener>
voidClientConnection.connect
(String address, int port, NetworkState<S> outboundState, NetworkState<C> inboundState, C prePlayStateListener, boolean transfer) private <S extends ServerPacketListener,
C extends ClientPacketListener>
voidClientConnection.connect
(String address, int port, NetworkState<S> outboundState, NetworkState<C> inboundState, C prePlayStateListener, ConnectionIntent intent) -
Uses of ServerPacketListener in net.minecraft.network.listener
Subinterfaces of ServerPacketListener in net.minecraft.network.listenerModifier and TypeInterfaceDescriptioninterface
interface
interface
interface
The interface for serverbound packet listeners.interface
interface
interface
A 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 TypeClassDescriptionclass
A server handshake network handler that exclusively handles local connections.class
class
class
class
The server login network handler.class
class