Class ClientConfigurationConnectionEvents
java.lang.Object
net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationConnectionEvents
Offers access to events related to the configuration connection to a server on a logical client.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
static interface
static interface
Deprecated.static interface
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Event
<ClientConfigurationConnectionEvents.Complete> An event called after the ReadyS2CPacket has been received, just before switching to the PLAY state.static final Event
<ClientConfigurationConnectionEvents.Disconnect> An event for the disconnection of the client configuration network handler.static final Event
<ClientConfigurationConnectionEvents.Init> Event indicating a connection entering the CONFIGURATION state, ready for registering channel handlers.static final Event
<ClientConfigurationConnectionEvents.Ready> Deprecated.replaced byCOMPLETE
static final Event
<ClientConfigurationConnectionEvents.Start> An event called after the connection has been initialized and is ready to start sending and receiving configuration packets. -
Method Summary
-
Field Details
-
INIT
Event indicating a connection entering the CONFIGURATION state, ready for registering channel handlers.No packets should be sent when this event is invoked.
- See Also:
-
START
An event called after the connection has been initialized and is ready to start sending and receiving configuration packets.Packets may be sent during this event.
-
COMPLETE
An event called after the ReadyS2CPacket has been received, just before switching to the PLAY state.No packets should be sent when this event is invoked.
-
DISCONNECT
An event for the disconnection of the client configuration network handler.No packets should be sent when this event is invoked.
-
READY
Deprecated.replaced byCOMPLETE
-
ClientConfigurationConnectionEvents.Complete