icekid 发表于 2016-8-2 16:56

新人初次尝试制作mod,貌似服务端的代码有点问题,求大神解惑!~~~

{:3_92:}问题貌似在preInit阶段,先附上log的2段说明:
: An error occured trying to load a proxy into {serverSide=Frozen_Phoenix.minecraftmods.client.CommonProxy, clientSide=Frozen_Phoenix.minecraftmods.common.ClientProxy}.Frozen_Phoenix.minecraftmods.Powered_Armor
: Fatal errors were detected during the transition from CONSTRUCTING to PREINITIALIZATION. Loading cannot continue
我的mod目前就包括1个自定义物品,1个自定义方块,这是我的服务端代码,求教这里代码应该怎么写。。。:public class CommonProxy{      public void preInit(FMLPreInitializationEvent event)    {      new ConfigLoader(event);      new CreativeTabsLoader(event);      new ItemLoader(event);      new BlockLoader(event);    }
    public void init(FMLInitializationEvent event)    {
    }
    public void postInit(FMLPostInitializationEvent event)    {
    }}另附log完整版。。。
页: [1]
查看完整版本: 新人初次尝试制作mod,貌似服务端的代码有点问题,求大神解惑!~~~