Fire a custom packet channel registration/deregistration event, for any mods that care about that

kind of thing
This commit is contained in:
Christian committed 2014-01-16 19:45:42 -05:00
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);
}