コード例 #1
0
  public final void preInit(AdditionalInfo info, FMLPreInitializationEvent fpreie) {
    info.config = new Configuration(fpreie.getSuggestedConfigurationFile());
    info.config.load();

    CommonProxy.registerListeners(info);
    CommonProxy.registerBlocks(info);
    CommonProxy.registerItems(info);
    CommonProxy.registerCustomBiomesAndDimensions(info);
    CommonProxy.registerCustomMobs(info);
  }
コード例 #2
0
 public final void init(AdditionalInfo info, FMLInitializationEvent fie) {
   CommonProxy.registerCustomSmelting(info);
   CommonProxy.registerCustomCrafting(info);
   CommonProxy.registerGUIStuff(info);
 }