Java 类cpw.mods.fml.common.network.NetworkModHandler 实例源码

项目:MobVsMob    文件:MobVsMob.java   
public static int getNetId()
{
    return ((NetworkModHandler)FMLNetworkHandler.instance().findNetworkModHandler(MobVsMob.instance)).getNetworkId();   //For Use of MapPackets
}