Class S2CPlayChannelEvents
java.lang.Object
net.fabricmc.fabric.api.networking.v1.S2CPlayChannelEvents
public final class S2CPlayChannelEvents extends Object
Offers access to events related to the indication of a connected client's ability to receive packets in certain channels.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
S2CPlayChannelEvents.Register
static interface
S2CPlayChannelEvents.Unregister
-
Field Summary
Fields Modifier and Type Field Description static Event<S2CPlayChannelEvents.Register>
REGISTER
An event for the server play network handler receiving an update indicating the connected client's ability to receive packets in certain channels.static Event<S2CPlayChannelEvents.Unregister>
UNREGISTER
An event for the server play network handler receiving an update indicating the connected client's lack of ability to receive packets in certain channels. -
Method Summary
-
Field Details
-
REGISTER
An event for the server play 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
An event for the server play 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.
-