Class S2CConfigurationChannelEvents

java.lang.Object
net.fabricmc.fabric.api.networking.v1.S2CConfigurationChannelEvents

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

    • REGISTER

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