@Mod.EventHandler public void postinit(FMLPostInitializationEvent event) { updateMobSpawning(); updateOreGenStatus(); animals = new ArrayList<>(); for(ResourceLocation entry:ForgeRegistries.ENTITIES.getKeys()) { if(EntityAnimal.class.isAssignableFrom(EntityList.getClass(entry))) { animals.add(entry); } } }
@SuppressWarnings("deprecation") @EventHandler public void postInit(FMLPostInitializationEvent evt) { BiomeDictionary.getBiomes(BiomeDictionary.Type.FOREST).parallelStream().forEach(b -> { BlockMoonbell.addValidMoonbellBiome(b); }); }
@EventHandler public void init(FMLPostInitializationEvent event) { ReactorInterior.registerFluid("ic2coolant", 0.66F, 0.95F, 6F, IHeatEntity.conductivityDiamond); ReactorInterior.registerFluid("ic2uu_matter", 0.9F, 0.99F, 18F, IHeatEntity.conductivityDiamond); Reactants.registerReactant("uFuel", 0, 0x46c81a); Reactants.registerReactant("plutonium", 1, 0xaaaaaa); ReactorConversions.register("uFuel", "plutonium"); Reactants.registerSolid("uraniumFuel", "uFuel"); Reactants.registerSolid("tinyPlutonium", "plutonium"); Item uraniumFuel = Item.getByNameOrId("ic2:nuclear"); if(uraniumFuel != null) { OreDictionary.registerOre("uraniumFuel", uraniumFuel); OreDictionary.registerOre("tinyPlutonium", new ItemStack(uraniumFuel, 1, 7)); } else { OreDictionary.registerOre("tinyPlutonium", new ItemStack(Item.getByNameOrId("bigreactors:ingotMetals"), 0, 1)); } Fluid fluidUranium = FluidRegistry.getFluid("uraniumfuel"); if(fluidUranium != null) Reactants.registerFluid(fluidUranium, "uFuel"); }
@EventHandler public void postInit(FMLPostInitializationEvent event) { proxy.postInit(event); if (config.hasChanged()) { config.save(); } }
@EventHandler public void afterModsLoaded(FMLPostInitializationEvent event) { if (Loader.isModLoaded(Compats.IC2)) { ItemsCG.loadRecipes(); } }
@Mod.EventHandler public void postInit(FMLPostInitializationEvent event) { MinecraftForge.EVENT_BUS.register(new EventProgram()); MinecraftForge.EVENT_BUS.register(new EventStatclock()); proxy.postInit(event); }
public void postInit(FMLPostInitializationEvent event) { if (config.hasChanged()) { config.save(); } }
@Override public void postInit(FMLPostInitializationEvent event) { super.postInit(event); }
public void postInit(FMLPostInitializationEvent event) { // Config.postInit(); }
public void postinit(FMLPostInitializationEvent e) { super.postinit(e); }
public void postInit(FMLPostInitializationEvent e) { // NO OP }
@EventHandler public void postInit(FMLPostInitializationEvent event) { proxy.postInit(event); }
@EventHandler public void postInit(final @Nonnull FMLPostInitializationEvent event) { if (proxy!=null) proxy.postInit(event); }
@Override public void postInit(FMLPostInitializationEvent e) { super.postInit(e); }
@EventHandler public void postInit(FMLPostInitializationEvent event) { proxy.postInit(); }
public void postInit(FMLPostInitializationEvent e) { ExampleMod.modCompat.postInit(); //ModRegistry.initBiomes(); }
public void postInit(FMLPostInitializationEvent event) { LOG.info("postInit COMMON"); //normally would do this in pre-init, but we need to let other mods add mobs and stuff //so we can key off them. DifficultyManager.syncConfig(); }
@Mod.EventHandler public void postInit(FMLPostInitializationEvent event){ proxy.postInit(event); }
@Override public void postInit(final FMLPostInitializationEvent event) { }
@EventHandler public void postInit(FMLPostInitializationEvent event) { log.info("Entering post init phase"); proxy.postInit(event); log.info("Done with post init phase"); }
@Mod.EventHandler public void postInit(FMLPostInitializationEvent event) { proxy.postInit(event); }
@Mod.EventHandler public void postInit(FMLPostInitializationEvent e) { proxy.postInit(e); }
@Mod.EventHandler public void postInitialize(FMLPostInitializationEvent event) {}
@Override public void postInit(FMLPostInitializationEvent evt) { ClientRegistry.instance.postInit(evt); }
public void postInit(FMLPostInitializationEvent e) { ConfigSetup.postInit(); RulesManager.readRules(); }
@EventHandler public static void postInit(FMLPostInitializationEvent event){ proxy.postInit(); }
@Override public void postInit(FMLPostInitializationEvent event) {}
@EventHandler public void postinit(FMLPostInitializationEvent e) { startTimer(); proxy.postinit(e); LogUtils.info("PostInitialization event took " + endTimer() + " ms."); }
@Mod.EventHandler public void postInit(FMLPostInitializationEvent event) { proxy.postInit(); }
@EventHandler public void postInit(FMLPostInitializationEvent event) { log.info("PostInitializing"); proxy.postInit(); }
@EventHandler public void postInit(FMLPostInitializationEvent event) { }