mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Fire a custom packet channel registration/deregistration event, for any mods that care about that
kind of thing
This commit is contained in:
1 parent
a429e106dd
commit
9c96ca4402
6 files changed
+60
-11
No files matched your search
@@ -13,10 +13,12 @@
|
||||
package cpw.mods.fml.common;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
import net.minecraft.network.INetHandler;
|
||||
import net.minecraft.network.NetworkManager;
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import cpw.mods.fml.common.eventhandler.EventBus;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
|
||||
public interface IFMLSidedHandler
|
||||
@@ -50,4 +52,6 @@ public interface IFMLSidedHandler
|
||||
INetHandler getClientPlayHandler();
|
||||
|
||||
void waitForPlayClient();
|
||||
|
||||
void fireNetRegistrationEvent(EventBus bus, NetworkManager manager, Set<String> channelSet, String channel, Side side);
|
||||
}
|
||||
Reference in new issue
Block a user