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
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
static interface
-
Field Summary
FieldsModifier 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 entered 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. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INIT
Event indicating a connection entered 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.
-
-
Constructor Details
-
ClientConfigurationConnectionEvents
public ClientConfigurationConnectionEvents()
-