Class NetworkEvent.ChannelRegistrationChangeEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.network.NetworkEvent
net.minecraftforge.network.NetworkEvent.ChannelRegistrationChangeEvent
Enclosing class:
NetworkEvent

public static class NetworkEvent.ChannelRegistrationChangeEvent extends NetworkEvent
Fired when the channel registration (see minecraft custom channel documentation) changes. Note the payload is not exposed. This fires to the resource location that owns the channel, when it's registration changes state. It seems plausible that this will fire multiple times for the same state, depending on what the server is doing. It just directly dispatches upon receipt.