Search in sources :

Example 1 with ManualGuiHandler

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);
}
Also used : MultiblockServerTickHandler(reborncore.common.multiblock.MultiblockServerTickHandler) MultiblockEventHandler(reborncore.common.multiblock.MultiblockEventHandler) ManualGuiHandler(reborncore.client.gui.ManualGuiHandler) ItemTeamRebornManual(reborncore.modcl.manual.ItemTeamRebornManual)

Aggregations

ManualGuiHandler (reborncore.client.gui.ManualGuiHandler)1 MultiblockEventHandler (reborncore.common.multiblock.MultiblockEventHandler)1 MultiblockServerTickHandler (reborncore.common.multiblock.MultiblockServerTickHandler)1 ItemTeamRebornManual (reborncore.modcl.manual.ItemTeamRebornManual)1