Java 类net.minecraftforge.fml.common.event.FMLPostInitializationEvent 实例源码

项目:Mods    文件:TF2weapons.java   
@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);
        }
    }
}
项目:Bewitchment    文件:Bewitchment.java   
@SuppressWarnings("deprecation")
@EventHandler
public void postInit(FMLPostInitializationEvent evt) {
    BiomeDictionary.getBiomes(BiomeDictionary.Type.FOREST).parallelStream().forEach(b -> {
        BlockMoonbell.addValidMoonbellBiome(b);
    });
}
项目:UraniumBigReactor    文件:UraniumBigReactorMod.java   
@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");
}
项目:Etheric    文件:Etheric.java   
@EventHandler
public void postInit(FMLPostInitializationEvent event) {
    proxy.postInit(event);

    if (config.hasChanged()) {
           config.save();
       }
}
项目:CompositeGear    文件:CompositeGear.java   
@EventHandler
public void afterModsLoaded(FMLPostInitializationEvent event)
{
    if (Loader.isModLoaded(Compats.IC2)) {
        ItemsCG.loadRecipes();
    }
}
项目:statclock    文件:Statclock.java   
@Mod.EventHandler
public void postInit(FMLPostInitializationEvent event) {

    MinecraftForge.EVENT_BUS.register(new EventProgram());
    MinecraftForge.EVENT_BUS.register(new EventStatclock());
    proxy.postInit(event);

}
项目:Simple-Chunks    文件:CommonProxy.java   
public void postInit(FMLPostInitializationEvent event)
{
    if (config.hasChanged())
    {
        config.save();
    }
}
项目:EasyCraft    文件:ClientProxy.java   
@Override
public void postInit(FMLPostInitializationEvent event) {
    super.postInit(event);
}
项目:BaseFoods    文件:CommonProxy.java   
public void postInit(FMLPostInitializationEvent event) {
//      Config.postInit();
    }
项目:MiningWells    文件:ServerProxy.java   
public void postinit(FMLPostInitializationEvent e) {
    super.postinit(e);
}
项目:WirelessCharger    文件:ClientProxy.java   
@Override
public void postInit(FMLPostInitializationEvent event) {
    super.postInit(event);
}
项目:refinedstorageaddons    文件:ProxyCommon.java   
public void postInit(FMLPostInitializationEvent e) {
    // NO OP
}
项目:MineCamera    文件:MineCamera.java   
@EventHandler
public void postInit(FMLPostInitializationEvent event) {
    proxy.postInit(event);
}
项目:MineCamera    文件:ClientProxy.java   
@Override
public void postInit(FMLPostInitializationEvent event) {
    super.postInit(event);
}
项目:ServerObserver    文件:ServerObserver.java   
@EventHandler
public void postInit(final @Nonnull FMLPostInitializationEvent event) {
    if (proxy!=null)
        proxy.postInit(event);
}
项目:Firma    文件:ClientProxy.java   
@Override
public void postInit(FMLPostInitializationEvent e) {
    super.postInit(e);
}
项目:WirelessCharger    文件:Main.java   
@EventHandler
public void postInit(FMLPostInitializationEvent event) {
    proxy.postInit(event);
}
项目:Soot    文件:Soot.java   
@EventHandler
public void postInit(FMLPostInitializationEvent event)
{
    proxy.postInit();
}
项目:modName    文件:CommonProxy.java   
public void postInit(FMLPostInitializationEvent e) {
    ExampleMod.modCompat.postInit();
    //ModRegistry.initBiomes();
}
项目:ProgressiveDifficulty    文件:CommonProxy.java   
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();
}
项目:ProgressiveDifficulty    文件:ProgressiveDifficulty.java   
@Mod.EventHandler
public void postInit(FMLPostInitializationEvent event){
    proxy.postInit(event);
}
项目:ServerObserver    文件:CommonProxy.java   
@Override
public void postInit(final FMLPostInitializationEvent event) {
}
项目:Halloween    文件:HalloweenMod.java   
@EventHandler
public void postInit(FMLPostInitializationEvent event)
{
    proxy.postInit();
}
项目:Whoosh    文件:Whoosh.java   
@EventHandler
public void postInit(FMLPostInitializationEvent event) {

    proxy.postInit(event);
}
项目:openarch    文件:OpenArch.java   
@EventHandler
public void postInit(FMLPostInitializationEvent event) {
    log.info("Entering post init phase");
    proxy.postInit(event);
    log.info("Done with post init phase");
}
项目:Pangu    文件:PanguCore.java   
@Mod.EventHandler
public void postInit(FMLPostInitializationEvent event) {
    proxy.postInit(event);
}
项目:MobBlocker    文件:MobBlocker.java   
@Mod.EventHandler
public void postInit(FMLPostInitializationEvent e) {
    proxy.postInit(e);
}
项目:CraftingParadiseMod    文件:CraftingParadise.java   
@Mod.EventHandler
public void postInitialize(FMLPostInitializationEvent event) {}
项目:ExPetrum    文件:ExPProxyClient.java   
@Override
public void postInit(FMLPostInitializationEvent evt)
{
    ClientRegistry.instance.postInit(evt);
}
项目:InControl    文件:CommonProxy.java   
public void postInit(FMLPostInitializationEvent e) {
    ConfigSetup.postInit();
    RulesManager.readRules();
}
项目:modName    文件:ClientProxy.java   
@Override
public void postInit(FMLPostInitializationEvent event) {
    super.postInit(event);
}
项目:EasyCraft    文件:EasyCraft.java   
@EventHandler
public void postInit(FMLPostInitializationEvent event) {
    proxy.postInit(event);
}
项目:MagicWinds    文件:MagicWinds.java   
@EventHandler
public static void postInit(FMLPostInitializationEvent event){
    proxy.postInit();
}
项目:RunicArcana    文件:ServerProxy.java   
@Override
public void postInit(FMLPostInitializationEvent event) {}
项目:MiningWells    文件:MiningWells.java   
@EventHandler
public void postinit(FMLPostInitializationEvent e) {
    startTimer();
    proxy.postinit(e);
    LogUtils.info("PostInitialization event took " + endTimer() + " ms.");
}
项目:WirelessRedstone    文件:WirelessRedstone.java   
@Mod.EventHandler
public void postInit(FMLPostInitializationEvent event) {
    proxy.postInit();
}
项目:Lector    文件:ServerProxy.java   
@Override
public void postInit(FMLPostInitializationEvent e) {
    super.postInit(e);
}
项目:RealisticArmorTiers    文件:RealisticArmorTiers.java   
@EventHandler
public void postInit(FMLPostInitializationEvent event) {
    log.info("PostInitializing");

    proxy.postInit();
}
项目:Infernum    文件:Infernum.java   
@EventHandler
public void postInit(FMLPostInitializationEvent event) {
    proxy.postInit();
}
项目:OnTheRails    文件:OnTheRails.java   
@EventHandler
public void postInit(FMLPostInitializationEvent event)
{

}