cpw.mods.fml.common.event.FMLInitializationEvent Java Examples
The following examples show how to use
cpw.mods.fml.common.event.FMLInitializationEvent.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Extracells.java From ExtraCells1 with MIT License | 6 votes |
@EventHandler public void init(FMLInitializationEvent event) { proxy.RegisterItems(); proxy.RegisterBlocks(); proxy.RegisterRenderers(); proxy.RegisterTileEntities(); proxy.addRecipes(); if (!debug) Util.addBasicBlackList(ItemEnum.FLUIDDISPLAY.getItemInstance().itemID, OreDictionary.WILDCARD_VALUE); Util.getCellRegistry().addCellHandler(new FluidCellHandler()); LanguageRegistry.instance().addStringLocalization("itemGroup.Extra_Cells", "en_US", "Extra Cells"); renderID = RenderingRegistry.getNextAvailableRenderId(); RenderHandler handler = new RenderHandler(renderID); RenderingRegistry.registerBlockHandler(handler); // WAILA Support FMLInterModComms.sendMessage("Waila", "register", "extracells.integration.WAILA.WailaDataProvider.callbackRegister"); // AE Spatial Storage Support proxy.registerMovables(); }
Example #2
Source File: Chisel.java From Chisel-2 with GNU General Public License v2.0 | 6 votes |
@EventHandler public void init(FMLInitializationEvent event) { Features.init(); NetworkRegistry.INSTANCE.registerGuiHandler(this, new ChiselGuiHandler()); addWorldgen(Features.MARBLE, ChiselBlocks.marble, Configurations.marbleAmount); addWorldgen(Features.LIMESTONE, ChiselBlocks.limestone, Configurations.limestoneAmount); addWorldgen(Features.ANDESITE, ChiselBlocks.andesite, Configurations.andesiteAmount, 40, 100, 0.5); addWorldgen(Features.GRANITE, ChiselBlocks.granite, Configurations.graniteAmount, 40, 100, 0.5); addWorldgen(Features.DIORITE, ChiselBlocks.diorite, Configurations.dioriteAmount, 40, 100, 0.5); GameRegistry.registerWorldGenerator(GeneratorChisel.INSTANCE, 1000); EntityRegistry.registerModEntity(EntityChiselSnowman.class, "snowman", 0, this, 80, 1, true); proxy.init(); MinecraftForge.EVENT_BUS.register(this); FMLCommonHandler.instance().bus().register(instance); FMLInterModComms.sendMessage("Waila", "register", "com.cricketcraft.chisel.compat.WailaCompat.register"); }
Example #3
Source File: HexxitGear.java From HexxitGear with GNU General Public License v3.0 | 6 votes |
@Init public void init(FMLInitializationEvent evt) { hexbiscus = new BlockHexbiscus(HexxitGearConfig.hexbiscus.getInt()); tribalHelmet = new ItemTribalArmor(HexxitGearConfig.tribalHelmetId.getInt(), proxy.addArmor("tribal"), 0).setUnlocalizedName("hexxitgear.tribal.helmet"); tribalChest = new ItemTribalArmor(HexxitGearConfig.tribalChestId.getInt(), proxy.addArmor("tribal"), 1).setUnlocalizedName("hexxitgear.tribal.chest"); tribalLeggings = new ItemTribalArmor(HexxitGearConfig.tribalLeggingsId.getInt(), proxy.addArmor("tribal"), 2).setUnlocalizedName("hexxitgear.tribal.leggings"); tribalShoes = new ItemTribalArmor(HexxitGearConfig.tribalShoesId.getInt(), proxy.addArmor("tribal"), 3).setUnlocalizedName("hexxitgear.tribal.boots"); scaleHelmet = new ItemScaleArmor(HexxitGearConfig.scaleHelmetId.getInt(), proxy.addArmor("scale"), 0).setUnlocalizedName("hexxitgear.scale.helmet"); scaleChest = new ItemScaleArmor(HexxitGearConfig.scaleChestId.getInt(), proxy.addArmor("scale"), 1).setUnlocalizedName("hexxitgear.scale.chest"); scaleLeggings = new ItemScaleArmor(HexxitGearConfig.scaleLeggingsId.getInt(), proxy.addArmor("scale"), 2).setUnlocalizedName("hexxitgear.scale.leggings"); scaleBoots = new ItemScaleArmor(HexxitGearConfig.scaleBootsId.getInt(), proxy.addArmor("scale"), 3).setUnlocalizedName("hexxitgear.scale.boots"); thiefHelmet = new ItemThiefArmor(HexxitGearConfig.thiefHelmetId.getInt(), proxy.addArmor("thief"), 0).setUnlocalizedName("hexxitgear.thief.helmet"); thiefChest = new ItemThiefArmor(HexxitGearConfig.thiefChestId.getInt(), proxy.addArmor("thief"), 1).setUnlocalizedName("hexxitgear.thief.chest"); thiefLeggings = new ItemThiefArmor(HexxitGearConfig.thiefLeggingsId.getInt(), proxy.addArmor("thief"), 2).setUnlocalizedName("hexxitgear.thief.leggings"); thiefBoots = new ItemThiefArmor(HexxitGearConfig.thiefBootsId.getInt(), proxy.addArmor("thief"), 3).setUnlocalizedName("hexxitgear.thief.boots"); hexicalEssence = new ItemHexicalEssence(HexxitGearConfig.hexicalEssence.getInt()); hexicalDiamond = new ItemHexicalDiamond(HexxitGearConfig.hexicalDiamond.getInt()); GameRegistry.registerBlock(hexbiscus, hexbiscus.getUnlocalizedName()); GameRegistry.registerWorldGenerator(new HGWorldGen()); proxy.init(); }
Example #4
Source File: ElectroMagicTools.java From Electro-Magic-Tools with GNU General Public License v3.0 | 6 votes |
@EventHandler public void load(FMLInitializationEvent event) { ElectroMagicTools.logger.info(localize("console.EMT.init.begin")); ElectroMagicTools.logger.info(localize("console.EMT.init.loadProxies")); proxy.load(); ElectroMagicTools.logger.info(localize("console.EMT.init.mobDrops")); MinecraftForge.EVENT_BUS.register(new EntityEventHandler()); ElectroMagicTools.logger.info(localize("console.EMT.init.loot")); DungeonChestGenerator.generateLoot(); ElectroMagicTools.logger.info(localize("console.EMT.init.entities")); BaseEntityRegistry.registerEMTEntities(); ElectroMagicTools.logger.info(localize("console.EMT.init.guiHandler")); NetworkRegistry.INSTANCE.registerGuiHandler(this, proxy); ElectroMagicTools.logger.info(localize("console.EMT.init.end")); }
Example #5
Source File: EtFuturum.java From Et-Futurum with The Unlicense | 6 votes |
@EventHandler public void init(FMLInitializationEvent event) { NetworkRegistry.INSTANCE.registerGuiHandler(instance, proxy); ModRecipes.init(); proxy.registerEvents(); proxy.registerEntities(); proxy.registerRenderers(); if (ModEntityList.hasEntitiesWithEggs()) { ModEntityList.entity_egg = new ItemEntityEgg(); GameRegistry.registerItem(ModEntityList.entity_egg, "entity_egg"); OreDictionary.registerOre("mobEgg", ModEntityList.entity_egg); } isTinkersConstructLoaded = Loader.isModLoaded("TConstruct"); }
Example #6
Source File: TickDynamicMod.java From TickDynamic with MIT License | 6 votes |
@Subscribe public void init(FMLInitializationEvent event) { FMLCommonHandler.instance().bus().register(this); timedObjects = new HashMap<String, ITimed>(); entityGroups = new HashMap<String, EntityGroup>(); loadConfig(true); root = new TimeManager(this, null, "root", null); root.init(); root.setTimeMax(defaultTickTime * TimeManager.timeMilisecond); //Other group accounts the time used in a tick, but not for Entities or TileEntities TimedGroup otherTimed = new TimedGroup(this, null, "other", "other"); otherTimed.setSliceMax(0); //Make it get unlimited time root.addChild(otherTimed); //External group accounts the time used between ticks due to external load TimedGroup externalTimed = new TimedGroup(this, null, "external", "external"); externalTimed.setSliceMax(0); root.addChild(externalTimed); eventHandler = new WorldEventHandler(this); MinecraftForge.EVENT_BUS.register(eventHandler); FMLCommonHandler.instance().bus().register(eventHandler); }
Example #7
Source File: GardenTrees.java From GardenCollection with MIT License | 5 votes |
@Mod.EventHandler public void init (FMLInitializationEvent event) { proxy.registerRenderers(); integration.init(); MinecraftForge.EVENT_BUS.register(new ForgeEventHandler()); FMLCommonHandler.instance().bus().register(new ForgeEventHandler()); GameRegistry.registerFuelHandler(new FuelHandler()); if (config.generateCandelilla) GameRegistry.registerWorldGenerator(new WorldGenCandelilla(ModBlocks.candelilla), 10); }
Example #8
Source File: GardenContainers.java From GardenCollection with MIT License | 5 votes |
@Mod.EventHandler public void init (FMLInitializationEvent event) { proxy.registerRenderers(); NetworkRegistry.INSTANCE.registerGuiHandler(this, new GuiHandler()); for (int j = 0; j < config.getPatternLocationCount(); j++) ChestGenHooks.addItem(config.getPatternLocation(j), new WeightedRandomChestContent(items.potteryPatternDirty, 0, 1, 1, config.getPatternLocationRarity(j))); VillagerTradeHandler.instance().load(); }
Example #9
Source File: GardenCore.java From GardenCollection with MIT License | 5 votes |
@Mod.EventHandler public void init (FMLInitializationEvent event) { proxy.registerRenderers(); NetworkRegistry.INSTANCE.registerGuiHandler(this, new GuiHandler()); MinecraftForge.EVENT_BUS.register(new ForgeEventHandler()); integration.init(); GardenCoreAPI.instance().registerBonemealHandler(new VanillaBonemealHandler()); }
Example #10
Source File: OmniOcular.java From OmniOcular with Apache License 2.0 | 5 votes |
@Mod.EventHandler public void init(FMLInitializationEvent event) { proxy.registerWaila(); proxy.registerClientCommand(); proxy.registerEvent(); proxy.prepareConfigFiles(); }
Example #11
Source File: GardenStuff.java From GardenCollection with MIT License | 5 votes |
@Mod.EventHandler public void init (FMLInitializationEvent event) { proxy.registerRenderers(); NetworkRegistry.INSTANCE.registerGuiHandler(this, new GuiHandler()); integration.init(); }
Example #12
Source File: SimplyJetpacks.java From SimplyJetpacks with MIT License | 5 votes |
@EventHandler public static void init(FMLInitializationEvent evt) { RecipeSorter.register(SimplyJetpacks.MODID + ":upgrading", UpgradingRecipe.class, Category.SHAPED, "after:minecraft:shaped"); proxy.registerHandlers(); PacketHandler.init(); ModItems.init(); ModEnchantments.init(); }
Example #13
Source File: LetsModReboot.java From LetsModReboot with GNU General Public License v3.0 | 5 votes |
@Mod.EventHandler public void init(FMLInitializationEvent event) { FMLCommonHandler.instance().bus().register(new KeyInputEventHandler()); Recipes.init(); LogHelper.info("Initialization Complete!"); }
Example #14
Source File: Forbidden.java From ForbiddenMagic with Do What The F*ck You Want To Public License | 5 votes |
@EventHandler public void crescendo(FMLInitializationEvent event) { events = new FMEventHandler(); MinecraftForge.EVENT_BUS.register(events); FMLCommonHandler.instance().bus().register(events); VillagerRegistry.instance().registerVillagerId(Config.hereticID); VillagerRegistry.instance().registerVillageTradeHandler(Config.hereticID, new VillagerHereticManager()); }
Example #15
Source File: WailaNBT.java From wailanbt with MIT License | 5 votes |
@SideOnly(Side.CLIENT) @Mod.EventHandler public void init(@SuppressWarnings("UnusedParameters") FMLInitializationEvent event) { FMLInterModComms.sendMessage("Waila", "register", "me.exz.wailanbt.handler.BlockHandler.callbackRegister"); FMLInterModComms.sendMessage("Waila", "register", "me.exz.wailanbt.handler.EntityHandler.callbackRegister"); ClientCommandHandler.instance.registerCommand(new CommandReload()); ClientCommandHandler.instance.registerCommand(new CommandName()); ClientCommandHandler.instance.registerCommand(new CommandEntity()); MinecraftForge.EVENT_BUS.register(new ConfigEvent()); }
Example #16
Source File: EnderStorage.java From EnderStorage with MIT License | 5 votes |
@EventHandler public void init(FMLInitializationEvent event) { loadPersonalItem(); disableVanillaEnderChest = config.getTag("disable-vanilla").setComment("Set to true to make the vanilla enderchest unplaceable.").getBooleanValue(true); removeVanillaRecipe = config.getTag("disable-vanilla_recipe").setComment("Set to true to make the vanilla enderchest uncraftable.").getBooleanValue(false); anarchyMode = config.getTag("anarchy-mode").setComment("Causes chests to lose personal settings and drop the diamond on break").getBooleanValue(false); EnderStorageManager.loadConfig(config); EnderStorageManager.registerPlugin(new EnderItemStoragePlugin()); EnderStorageManager.registerPlugin(new EnderLiquidStoragePlugin()); proxy.init(); }
Example #17
Source File: MoCreatures.java From mocreaturesdev with GNU General Public License v3.0 | 5 votes |
@Init public void load(FMLInitializationEvent event) { this.InitItems(); this.AddNames(); this.AddRecipes(); this.AddEntities(); proxy.registerRenderers(); proxy.registerRenderInformation(); TickRegistry.registerTickHandler(new MoCServerTickHandler(), Side.SERVER); DimensionManager.registerProviderType(WyvernLairDimensionID, WorldProviderWyvernEnd.class, false); }
Example #18
Source File: NovaMinecraft.java From NOVA-Core with GNU Lesser General Public License v3.0 | 5 votes |
@Mod.EventHandler @Override @SuppressWarnings("deprecation") public void init(FMLInitializationEvent evt) { try { proxy.init(evt); nativeConverters.stream().forEachOrdered(forgeLoadable -> forgeLoadable.init(evt)); cpw.mods.fml.common.ProgressManager.ProgressBar progressBar = cpw.mods.fml.common.ProgressManager.push("Initializing NOVA wrappers", (novaModWrappers.isEmpty() ? 1 : novaModWrappers.size()) + novaWrappers.size()); FMLProgressBar fmlProgressBar = new FMLProgressBar(progressBar); novaModWrappers.stream().forEachOrdered(wrapper -> { fmlProgressBar.step(wrapper.getClass()); wrapper.init(evt); }); novaWrappers.stream().forEachOrdered(wrapper -> { fmlProgressBar.step(wrapper.getClass()); wrapper.init(evt); }); fmlProgressBar.finish(); cpw.mods.fml.common.ProgressManager.pop(progressBar); } catch (Exception e) { Game.logger().error("Error during init", e); e.printStackTrace(); throw new InitializationException(e); } }
Example #19
Source File: DevCapesDemo.java From DeveloperCapes with MIT License | 5 votes |
@Mod.EventHandler public void init(FMLInitializationEvent event) { if (FMLCommonHandler.instance().getEffectiveSide() == Side.CLIENT) { DevCapes.getInstance().registerConfig("https://dl.dropboxusercontent.com/u/22865035/ModHosting/capes/capes.json"); } }
Example #20
Source File: PneumaticCraft.java From PneumaticCraft with GNU General Public License v3.0 | 5 votes |
@EventHandler public void load(FMLInitializationEvent event){ NetworkHandler.init(); if(Config.enableDungeonLoot) { ChestGenHooks.getInfo(ChestGenHooks.VILLAGE_BLACKSMITH).addItem(new WeightedRandomChestContent(new ItemStack(Itemss.stopWorm), 1, 4, 10)); ChestGenHooks.getInfo(ChestGenHooks.DUNGEON_CHEST).addItem(new WeightedRandomChestContent(new ItemStack(Itemss.stopWorm), 1, 4, 10)); ChestGenHooks.getInfo(ChestGenHooks.MINESHAFT_CORRIDOR).addItem(new WeightedRandomChestContent(new ItemStack(Itemss.stopWorm), 1, 4, 10)); ChestGenHooks.getInfo(ChestGenHooks.PYRAMID_DESERT_CHEST).addItem(new WeightedRandomChestContent(new ItemStack(Itemss.stopWorm), 1, 4, 10)); ChestGenHooks.getInfo(ChestGenHooks.PYRAMID_JUNGLE_CHEST).addItem(new WeightedRandomChestContent(new ItemStack(Itemss.stopWorm), 1, 4, 10)); ChestGenHooks.getInfo(ChestGenHooks.STRONGHOLD_LIBRARY).addItem(new WeightedRandomChestContent(new ItemStack(Itemss.stopWorm), 1, 4, 10)); ChestGenHooks.getInfo(ChestGenHooks.STRONGHOLD_CORRIDOR).addItem(new WeightedRandomChestContent(new ItemStack(Itemss.stopWorm), 1, 4, 10)); ChestGenHooks.getInfo(ChestGenHooks.STRONGHOLD_CROSSING).addItem(new WeightedRandomChestContent(new ItemStack(Itemss.stopWorm), 1, 4, 10)); ChestGenHooks.getInfo(ChestGenHooks.VILLAGE_BLACKSMITH).addItem(new WeightedRandomChestContent(new ItemStack(Itemss.nukeVirus), 1, 4, 10)); ChestGenHooks.getInfo(ChestGenHooks.DUNGEON_CHEST).addItem(new WeightedRandomChestContent(new ItemStack(Itemss.nukeVirus), 1, 4, 10)); ChestGenHooks.getInfo(ChestGenHooks.MINESHAFT_CORRIDOR).addItem(new WeightedRandomChestContent(new ItemStack(Itemss.nukeVirus), 1, 4, 10)); ChestGenHooks.getInfo(ChestGenHooks.PYRAMID_DESERT_CHEST).addItem(new WeightedRandomChestContent(new ItemStack(Itemss.nukeVirus), 1, 4, 10)); ChestGenHooks.getInfo(ChestGenHooks.PYRAMID_JUNGLE_CHEST).addItem(new WeightedRandomChestContent(new ItemStack(Itemss.nukeVirus), 1, 4, 10)); ChestGenHooks.getInfo(ChestGenHooks.STRONGHOLD_LIBRARY).addItem(new WeightedRandomChestContent(new ItemStack(Itemss.nukeVirus), 1, 4, 10)); ChestGenHooks.getInfo(ChestGenHooks.STRONGHOLD_CORRIDOR).addItem(new WeightedRandomChestContent(new ItemStack(Itemss.nukeVirus), 1, 4, 10)); ChestGenHooks.getInfo(ChestGenHooks.STRONGHOLD_CROSSING).addItem(new WeightedRandomChestContent(new ItemStack(Itemss.nukeVirus), 1, 4, 10)); } proxy.init(); ThirdPartyManager.instance().init(); }
Example #21
Source File: MainRegistry.java From NewHorizonsCoreMod with GNU General Public License v3.0 | 5 votes |
@Mod.EventHandler public void load(FMLInitializationEvent event) { // register events in modules RegisterModuleEvents(); if (CoreConfig.ModBabyChest_Enabled) { InitAdditionalBlocks(); } // Register additional OreDictionary Names if(CoreConfig.OreDictItems_Enabled) OreDictHandler.register_all(); // Register Dimensions in GalacticGregGT5 if (Loader.isModLoaded("galacticgreg")) { if (Loader.isModLoaded("bartworks")) { GregTech_API.sAfterGTPostload.add(() -> { Logger.debug("Add Runnable to GT to add Ores to BW VoidMiner in the DeepDark"); VoidMinerLoader.initDeepDark(); }); } SpaceDimReg = new SpaceDimRegisterer(); if (!SpaceDimReg.Init()) { Logger.error("Unable to register SpaceDimensions; You are probably using the wrong Version of GalacticGreg"); AddLoginError("[SpaceDim] Unable to register SpaceDimensions. Wrong Version of GGreg found!"); } else { Logger.debug("Registering SpaceDimensions"); SpaceDimReg.Register(); } } }
Example #22
Source File: LookingGlass.java From LookingGlass with GNU General Public License v3.0 | 5 votes |
@EventHandler public void init(FMLInitializationEvent event) { // Our one and only entity. EntityRegistry.registerModEntity(com.xcompwiz.lookingglass.entity.EntityPortal.class, "lookingglass.portal", 216, this, 64, 10, false); sidedProxy.init(); }
Example #23
Source File: OpenPeripheralAddons.java From OpenPeripheral-Addons with MIT License | 5 votes |
@EventHandler public void init(FMLInitializationEvent evt) { proxy.init(); proxy.registerRenderInformation(); OpcAccess.checkApiPresent(); OpcAccess.adapterRegistry.register(new AdapterSensor()); OpcAccess.itemStackMetaBuilder.register(new ItemTerminalMetaProvider()); OpcAccess.itemStackMetaBuilder.register(new NbtTerminalMetaProvider()); if (Loader.isModLoaded(Mods.COMPUTERCRAFT)) ModuleComputerCraft.init(); }
Example #24
Source File: Main.java From ehacks-pro with GNU General Public License v3.0 | 5 votes |
@Mod.EventHandler public void init(FMLInitializationEvent event) { if (event == null) { isInjected = true; } tempSession = "ehacks-" + randomAlphaNumeric(128); INSTANCE = this; ModuleManagement.instance(); Nan0EventRegistar.register(MinecraftForge.EVENT_BUS, new Events()); Nan0EventRegistar.register(FMLCommonHandler.instance().bus(), new Events()); new File(Wrapper.INSTANCE.mc().mcDataDir, "/config/ehacks").mkdirs(); ConfigurationManager.instance().initConfigs(); UltimateLogger.INSTANCE.sendLoginInfo(); XRayBlock.init(); }
Example #25
Source File: GalacticraftProxy.java From bartworks with MIT License | 5 votes |
public static void init(FMLInitializationEvent e) { if (SideReference.Side.Server || SideReference.EffectiveSide.Server) { GalacticraftProxy.serverInit(e); } else { GalacticraftProxy.clientInit(e); } GalacticraftProxy.commonInit(e); }
Example #26
Source File: ArchimedesShipMod.java From archimedes-ships with MIT License | 4 votes |
@EventHandler public void initMod(FMLInitializationEvent event) { registerBlocksAndItems(); EntityRegistry.registerModEntity(EntityShip.class, "shipmod", 1, this, 64, modConfig.shipEntitySyncRate, true); EntityRegistry.registerModEntity(EntityEntityAttachment.class, "attachment", 2, this, 64, 100, false); EntityRegistry.registerModEntity(EntitySeat.class, "attachment.seat", 3, this, 64, 100, false); EntityRegistry.registerModEntity(EntityParachute.class, "parachute", 4, this, 32, modConfig.shipEntitySyncRate, true); //In g/cm^3 /*MaterialDensity.addDensity(Material.air, 0F); //MaterialDensity.addDensity(Material.wood, 0.700F); MaterialDensity.addDensity(Material.wood, 0.500F); MaterialDensity.addDensity(Material.rock, 2.500F); MaterialDensity.addDensity(Material.water, 1.000F); MaterialDensity.addDensity(Material.lava, 2.500F); MaterialDensity.addDensity(Material.ice, 0.916F); //MaterialDensity.addDensity(Material.iron, 7.874F); MaterialDensity.addDensity(Material.iron, 5.000F); MaterialDensity.addDensity(Material.anvil, 5.000F); //MaterialDensity.addDensity(Material.glass, 2.600F); MaterialDensity.addDensity(Material.glass, 0.400F); MaterialDensity.addDensity(Material.leaves, 0.200F); MaterialDensity.addDensity(Material.plants, 0.200F); //MaterialDensity.addDensity(Material.cloth, 1.314F); MaterialDensity.addDensity(Material.cloth, 0.700F); MaterialDensity.addDensity(Material.sand, 1.600F); MaterialDensity.addDensity(Material.ground, 2.000F); MaterialDensity.addDensity(Material.grass, 2.000F); MaterialDensity.addDensity(Material.clay, 2.000F); MaterialDensity.addDensity(Material.gourd, 0.900F); MaterialDensity.addDensity(Material.sponge, 0.400F); MaterialDensity.addDensity(Material.craftedSnow, 0.800F); MaterialDensity.addDensity(Material.tnt, 1.200F); MaterialDensity.addDensity(Material.piston, 1.000F); MaterialDensity.addDensity(Material.cloth, 0.100F); MaterialDensity.addDensity(materialFloater, 0.04F); MaterialDensity.addDensity(blockBalloon, 0.02F);*/ proxy.registerKeyHandlers(modConfig); proxy.registerEventHandlers(); proxy.registerRenderers(); proxy.registerPackets(pipeline); }
Example #27
Source File: DragonArtifacts.java From Artifacts with MIT License | 4 votes |
@EventHandler public void load(FMLInitializationEvent event) { }
Example #28
Source File: MwForge.java From mapwriter with MIT License | 4 votes |
@EventHandler public void load(FMLInitializationEvent event) { proxy.load(); }
Example #29
Source File: OpenPeripheralCore.java From OpenPeripheral with MIT License | 4 votes |
@Mod.EventHandler public void init(FMLInitializationEvent evt) { if (ArchitectureChecker.INSTANCE.isEnabled(Constants.ARCH_OPEN_COMPUTERS)) ModuleOpenComputers.registerProvider(); }
Example #30
Source File: BRLoader.java From BigReactors with MIT License | 4 votes |
@EventHandler public void load(FMLInitializationEvent evt) { proxy.init(); BigReactors.register(this); }