コード例 #1
0
  @Mod.EventHandler
  public void preInit(FMLPreInitializationEvent event) {
    ConfigurationHelper.init(event.getSuggestedConfigurationFile());
    FMLCommonHandler.instance().bus().register(new ConfigurationHelper());

    ModItems.init();
    ModBlocks.init();

    LogHelper.info("Pre-initialisation Complete.");
  }
コード例 #2
0
 @Mod.EventHandler
 public void postInit(FMLPostInitializationEvent event) {
   LogHelper.info("Post-initialisation Complete.");
 }
コード例 #3
0
 @Mod.EventHandler
 public void init(FMLInitializationEvent event) {
   Recipes.init();
   LogHelper.info("Initialisation Complete.");
 }