Package net.minecraftforge.network
Class ChannelListManager
java.lang.Object
net.minecraftforge.network.ChannelListManager
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Logger(package private) static final EventNetworkChannel(package private) static final EventNetworkChannel
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidaddChannels(Connection connection) static voidaddChannels(Connection connection, Collection<ResourceLocation> channels) static voidaddChannels(Connection connection, ResourceLocation... channels) private static voidstatic voidremoveChannels(Connection connection, Collection<ResourceLocation> channels) static voidremoveChannels(Connection connection, ResourceLocation... channels) private static voidsendChannels(EventNetworkChannel channel, Connection connection, Collection<ResourceLocation> channels) private static voidprivate static voidupdateFrom(CustomPayloadEvent.Context source, FriendlyByteBuf buffer, ChannelRegistrationChangeEvent.Type changeType) 
- 
Field Details- 
LOGGERprivate static final org.slf4j.Logger LOGGER
- 
REGISTER
- 
UNREGISTER
 
- 
- 
Constructor Details- 
ChannelListManagerpublic ChannelListManager()
 
- 
- 
Method Details- 
registerListener
- 
unregisterListener
- 
addChannels
- 
addChannels
- 
addChannels
- 
removeChannels
- 
removeChannels
- 
sendChannelsprivate static void sendChannels(EventNetworkChannel channel, Connection connection, Collection<ResourceLocation> channels) 
- 
updateFromprivate static void updateFrom(CustomPayloadEvent.Context source, FriendlyByteBuf buffer, ChannelRegistrationChangeEvent.Type changeType) 
 
-