Search in sources :

Example 1 with ClientSemiBlockManager

use of me.desht.pneumaticcraft.client.semiblock.ClientSemiBlockManager in project pnc-repressurized by TeamPneumatic.

the class ClientProxy method preInit.

@Override
public void preInit() {
    TintedOBJLoader.INSTANCE.addDomain(Names.MOD_ID);
    ModelLoaderRegistry.registerLoader(TintedOBJLoader.INSTANCE);
    ModelLoaderRegistry.registerLoader(LoaderProgrammingPuzzle.INSTANCE);
    ModelLoaderRegistry.registerLoader(PressureGlassModelLoader.INSTANCE);
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityPressureTube.class, new RenderPressureTubeModule());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityAphorismTile.class, new RenderAphorismTile());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityAirCannon.class, new RenderAirCannon());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityPneumaticDoor.class, new RenderPneumaticDoor());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityAssemblyController.class, new RenderAssemblyController());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityAssemblyIOUnit.class, new RenderAssemblyIOUnit());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityAssemblyPlatform.class, new RenderAssemblyPlatform());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityAssemblyLaser.class, new RenderAssemblyLaser());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityAssemblyDrill.class, new RenderAssemblyDrill());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityChargingStation.class, new RenderChargingStation());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityElevatorBase.class, new RenderElevatorBase());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityElevatorCaller.class, new RenderElevatorCaller());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityUniversalSensor.class, new RenderUniversalSensor());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityVacuumPump.class, new RenderVacuumPump());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityRefinery.class, new RenderRefinery());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityLiquidHopper.class, new RenderLiquidHopper());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityKeroseneLamp.class, new RenderKeroseneLamp());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityPlasticMixer.class, new RenderPlasticMixer());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityThermopneumaticProcessingPlant.class, new RenderThermopneumaticProcessingPlant());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntitySentryTurret.class, new RenderSentryTurret());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntitySecurityStation.class, new RenderSecurityStation());
    ClientRegistry.bindTileEntitySpecialRenderer(TileEntityPressureChamberValve.class, new RenderPressureChamber());
    MinecraftForge.EVENT_BUS.register(new ClientEventHandler());
    MinecraftForge.EVENT_BUS.register(HUDHandler.instance());
    MinecraftForge.EVENT_BUS.register(ClientTickHandler.instance());
    MinecraftForge.EVENT_BUS.register(getHackTickHandler());
    MinecraftForge.EVENT_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());
    MinecraftForge.EVENT_BUS.register(KeyHandler.getInstance());
    ThirdPartyManager.instance().clientSide();
    /*  if(Config.enableUpdateChecker) {
              UpdateChecker.instance().start();
              MinecraftForge.EVENT_BUS.register(UpdateChecker.instance());
          }*/
    EntityTrackHandler.registerDefaultEntries();
    getAllKeybindsFromOptionsFile();
    // disabled for now, it won't work
    // new IGWSupportNotifier();
    RenderingRegistry.registerEntityRenderingHandler(EntityVortex.class, RenderEntityVortex.FACTORY);
    RenderingRegistry.registerEntityRenderingHandler(EntityDrone.class, RenderDrone.REGULAR_FACTORY);
    RenderingRegistry.registerEntityRenderingHandler(EntityLogisticsDrone.class, RenderDrone.LOGISTICS_FACTORY);
    RenderingRegistry.registerEntityRenderingHandler(EntityProgrammableController.class, RenderDrone.REGULAR_FACTORY);
    super.preInit();
}
Also used : CoordTrackUpgradeHandler(me.desht.pneumaticcraft.client.render.pneumaticArmor.CoordTrackUpgradeHandler) CommonHUDHandler(me.desht.pneumaticcraft.common.CommonHUDHandler) ClientSemiBlockManager(me.desht.pneumaticcraft.client.semiblock.ClientSemiBlockManager)

Aggregations

CoordTrackUpgradeHandler (me.desht.pneumaticcraft.client.render.pneumaticArmor.CoordTrackUpgradeHandler)1 ClientSemiBlockManager (me.desht.pneumaticcraft.client.semiblock.ClientSemiBlockManager)1 CommonHUDHandler (me.desht.pneumaticcraft.common.CommonHUDHandler)1