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
-
Field Summary
Modifier and TypeFieldDescriptionstatic 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> An event called after the ReadyS2CPacket has been received, just before switching to the PLAY state. -
Method Summary
-
Field Details
-
INIT
Event indicating a connection entering the CONFIGURATION state, ready for registering channel handlers.- See Also:
-
READY
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.
-