use of reborncore.client.gui.ManualGuiHandler in project RebornCore by TechReborn.
the class RebornCore method init.
@Mod.EventHandler
public void init(FMLInitializationEvent event) {
RebornCoreConfig.isIC2Loaded = Loader.isModLoaded("ic2");
TeslaManager.load();
// packets
OreUtil.scanForOres();
NetworkManager.load();
RebornCoreShields.init();
RebornPermissions.init();
MinecraftForge.EVENT_BUS.register(LootManager.INSTANCE);
// MinecraftForge.EVENT_BUS.register(InventoryCapabilityAttacher.instace);
// Multiblock events
MinecraftForge.EVENT_BUS.register(new MultiblockEventHandler());
MinecraftForge.EVENT_BUS.register(new MultiblockServerTickHandler());
MinecraftForge.EVENT_BUS.register(BlockWrenchEventHandler.class);
if (ItemTeamRebornManual.isManualEnabled) {
RebornRegistry.registerItem(new ItemTeamRebornManual());
NetworkRegistry.INSTANCE.registerGuiHandler(INSTANCE, new ManualGuiHandler());
}
proxy.init(event);
RegistrationManager.load(event);
}
Aggregations