我想学习开发1.14的mod,在这之前教程告诉我要先搭建mdk,我按着教程的方法操作,资源下载一切正常,但在最后提示我缺少setupDecompWorkspace任务,我按照教程重新找了几个代理服务器,试着删除.gradle文件夹都没有用,网上也没有相应教程,请问这个问题该如何解决?
本帖最后由 1378495772 于 2019-6-26 08:04 编辑
文档过时了
复制代码
文档过时了
- gradlew genEclipseRuns
- 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.
低耐久铁砧 发表于 2019-6-26 08:23
如果我使用NetBeans该如何操作?
请放弃使用 NetBeans 使用 eclipse 或 IDEA
1378495772 发表于 2019-6-26 08:36
请放弃使用 NetBeans 使用 eclipse 或 IDEA
好吧,我等会下好了试一下。