Class C2SConfigurationChannelEvents

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

public final class C2SConfigurationChannelEvents extends Object
Offers access to events related to the indication of a connected server's ability to receive packets in certain channels.
  • Field Details

    • REGISTER

      public static final Event<C2SConfigurationChannelEvents.Register> REGISTER
      An event for the client configuration network handler receiving an update indicating the connected server's ability to receive packets in certain channels. This event may be invoked at any time after login and up to disconnection.
    • UNREGISTER

      public static final Event<C2SConfigurationChannelEvents.Unregister> UNREGISTER
      An event for the client configuration network handler receiving an update indicating the connected server's lack of ability to receive packets in certain channels. This event may be invoked at any time after login and up to disconnection.