低耐久铁砧
我想学习开发1.14的mod,在这之前教程告诉我要先搭建mdk,我按着教程的方法操作,资源下载一切正常,但在最后提示我缺少setupDecompWorkspace任务,我按照教程重新找了几个代理服务器,试着删除.gradle文件夹都没有用,网上也没有相应教程,请问这个问题该如何解决?

1378495772
本帖最后由 1378495772 于 2019-6-26 08:04 编辑

文档过时了
  1. gradlew genEclipseRuns
  2. gradlew eclipse
复制代码
Step 2: You're left with a choice.
If you prefer to use Eclipse:
1. Run the following command: "gradlew genEclipseRuns" (./gradlew genEclipseRuns if you are on Mac/Linux)
2. Open Eclipse, Import > Existing Gradle Project > Select Folder
   or run "gradlew eclipse" to generate the project.
(Current Issue)
4. Open Project > Run/Debug Settings > Edit runClient and runServer > Environment
5. Edit MOD_CLASSES to show [modid]%%[Path]; 2 times rather then the generated 4.

If you prefer to use IntelliJ:
1. Open IDEA, and import project.
2. Select your build.gradle file and have it import.
3. Run the following command: "gradlew genIntellijRuns" (./gradlew genIntellijRuns if you are on Mac/Linux)
4. Refresh the Gradle Project in IDEA if required.


低耐久铁砧

如果我使用NetBeans该如何操作?

1378495772
低耐久铁砧 发表于 2019-6-26 08:23
如果我使用NetBeans该如何操作?

请放弃使用 NetBeans 使用 eclipse 或 IDEA

低耐久铁砧
1378495772 发表于 2019-6-26 08:36
请放弃使用 NetBeans 使用 eclipse 或 IDEA

好吧,我等会下好了试一下。

低耐久铁砧

非常感谢,问题已解决。

第一页 上一页 下一页 最后一页