use of pneumaticCraft.client.CreativeTabPneumaticCraft in project PneumaticCraft by MineMaarten.
the class PneumaticCraft method PreInit.
@EventHandler
public void PreInit(FMLPreInitializationEvent event) {
event.getModMetadata().version = Versions.fullVersionString();
isNEIInstalled = Loader.isModLoaded(ModIds.NEI);
PneumaticRegistry.init(PneumaticCraftAPIHandler.getInstance());
UpgradeRenderHandlerList.init();
SensorHandler.init();
Config.init(event.getSuggestedConfigurationFile());
ThirdPartyManager.instance().index();
NetworkRegistry.INSTANCE.registerGuiHandler(instance, proxy);
tabPneumaticCraft = new CreativeTabPneumaticCraft("tabPneumaticCraft");
Fluids.initFluids();
Blockss.init();
Itemss.init();
HackableHandler.addDefaultEntries();
ModuleRegistrator.init();
WidgetRegistrator.init();
ThirdPartyManager.instance().preInit();
TileEntityRegistrator.init();
EntityRegistrator.init();
SemiBlockInitializer.init();
CraftingRegistrator.init();
VillagerHandler.instance().init();
GameRegistry.registerWorldGenerator(new WorldGeneratorPneumaticCraft(), 0);
AchievementHandler.init();
HeatBehaviourManager.getInstance().init();
proxy.registerRenders();
proxy.registerHandlers();
tickHandler = new TickHandlerPneumaticCraft();
FMLCommonHandler.instance().bus().register(tickHandler);
MinecraftForge.EVENT_BUS.register(new EventHandlerPneumaticCraft());
MinecraftForge.EVENT_BUS.register(new EventHandlerUniversalSensor());
MinecraftForge.EVENT_BUS.register(new DroneSpecialVariableHandler());
FMLCommonHandler.instance().bus().register(new CraftingHandler());
FMLCommonHandler.instance().bus().register(new Config());
}
Aggregations