use of mcjty.xnet.apiimpl.logic.LogicChannelType in project XNet by McJty.
the class CommonProxy method preInit.
public void preInit(FMLPreInitializationEvent e) {
MinecraftForge.EVENT_BUS.register(new ForgeEventHandlers());
McJtyLib.preInit(e);
CommandHandler.registerCommands();
GeneralConfig.preInit(e);
modConfigDir = e.getModConfigurationDirectory();
mainConfig = new Configuration(new File(modConfigDir.getPath() + File.separator + "xnet", "xnet.cfg"));
readMainConfig();
SimpleNetworkWrapper network = PacketHandler.registerMessages(XNet.MODID, "xnet");
XNetMessages.registerNetworkMessages(network);
ModItems.init();
ModBlocks.init();
XNet.xNetApi.registerChannelType(new ItemChannelType());
XNet.xNetApi.registerChannelType(new EnergyChannelType());
XNet.xNetApi.registerChannelType(new FluidChannelType());
XNet.xNetApi.registerChannelType(new LogicChannelType());
}
Aggregations