Class ClientConfigurationConnectionEvents

java.lang.Object
net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationConnectionEvents

public final class ClientConfigurationConnectionEvents extends Object
Offers access to events related to the configuration connection to a server on a logical client.
  • Field Details

    • INIT

      Event indicating a connection entering the CONFIGURATION state, ready for registering channel handlers.
      See Also:
      • invalid reference
        ClientConfigurationNetworking#registerReceiver(Identifier, ClientConfigurationNetworking.ConfigurationChannelHandler)
    • 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

      public static final Event<ClientConfigurationConnectionEvents.Disconnect> DISCONNECT
      An event for the disconnection of the client configuration network handler.

      No packets should be sent when this event is invoked.