Search in sources :

Example 1 with ClientEventHandler

use of pneumaticCraft.client.ClientEventHandler in project PneumaticCraft by MineMaarten.

the class ClientProxy method registerHandlers.

@Override
public void registerHandlers() {
    super.registerHandlers();
    MinecraftForge.EVENT_BUS.register(new ClientEventHandler());
    FMLCommonHandler.instance().bus().register(new ClientEventHandler());
    MinecraftForge.EVENT_BUS.register(HUDHandler.instance());
    FMLCommonHandler.instance().bus().register(HUDHandler.instance());
    FMLCommonHandler.instance().bus().register(ClientTickHandler.instance());
    FMLCommonHandler.instance().bus().register(getHackTickHandler());
    FMLCommonHandler.instance().bus().register(clientHudHandler = new CommonHUDHandler());
    MinecraftForge.EVENT_BUS.register(new ClientSemiBlockManager());
    MinecraftForge.EVENT_BUS.register(HUDHandler.instance().getSpecificRenderer(CoordTrackUpgradeHandler.class));
    MinecraftForge.EVENT_BUS.register(AreaShowManager.getInstance());
    FMLCommonHandler.instance().bus().register(AreaShowManager.getInstance());
    FMLCommonHandler.instance().bus().register(KeyHandler.getInstance());
    ThirdPartyManager.instance().clientSide();
    /*  if(Config.enableUpdateChecker) {
              UpdateChecker.instance().start();
              FMLCommonHandler.instance().bus().register(UpdateChecker.instance());
          }*/
    EntityTrackHandler.registerDefaultEntries();
    getAllKeybindsFromOptionsFile();
    new IGWSupportNotifier();
}
Also used : IGWSupportNotifier(pneumaticCraft.common.thirdparty.igwmod.IGWSupportNotifier) CoordTrackUpgradeHandler(pneumaticCraft.client.render.pneumaticArmor.CoordTrackUpgradeHandler) CommonHUDHandler(pneumaticCraft.common.CommonHUDHandler) ClientEventHandler(pneumaticCraft.client.ClientEventHandler) ClientSemiBlockManager(pneumaticCraft.client.semiblock.ClientSemiBlockManager)

Aggregations

ClientEventHandler (pneumaticCraft.client.ClientEventHandler)1 CoordTrackUpgradeHandler (pneumaticCraft.client.render.pneumaticArmor.CoordTrackUpgradeHandler)1 ClientSemiBlockManager (pneumaticCraft.client.semiblock.ClientSemiBlockManager)1 CommonHUDHandler (pneumaticCraft.common.CommonHUDHandler)1 IGWSupportNotifier (pneumaticCraft.common.thirdparty.igwmod.IGWSupportNotifier)1