Class ClientPlayConnectionEvents
java.lang.Object
net.fabricmc.fabric.api.client.networking.v1.ClientPlayConnectionEvents
Deprecated.
Offers access to events related to the connection to a server on a logical client.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDeprecated.static interfaceDeprecated.static interfaceDeprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Event<ClientPlayConnectionEvents.Disconnect>Deprecated.An event for the disconnection of the client play network handler.static final Event<ClientPlayConnectionEvents.Init>Deprecated.static final Event<ClientPlayConnectionEvents.Join>Deprecated.An event for notification when the client play network handler is ready to send packets to the server. -
Method Summary
-
Field Details
-
INIT
Deprecated.Use Quilt Networking'sClientPlayConnectionEventsinstead.Event indicating a connection entered the PLAY state, ready for registering channel handlers.- See Also:
-
JOIN
Deprecated.An event for notification when the client play network handler is ready to send packets to the server.At this stage, the network handler is ready to send packets to the server. Since the client's local state has been set up.
-
DISCONNECT
Deprecated.An event for the disconnection of the client play network handler.No packets should be sent when this event is invoked.
-
ClientPlayConnectionEventsinstead.