Redstone_Brain
本帖最后由 HerobrineQWQ 于 2020-10-3 07:09 编辑

我按照教程上面的步骤做了一下,
把MDK里所有的文件复制粘贴到我的MOD的目录下,
并且CMD切换到我的MOD的根目录并执行:
  1. gradlew setupDecompWorkspace
复制代码
命令。
但运行时出错:
  1. C:\Users\65342\Desktop\MYMOD>gradlew setupDecompWorkspace
  2. To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.9/userguide/gradle_daemon.html.
  3. Daemon will be stopped at the end of the build stopping after processing

  4. > Configure project :
  5. New Dep: net.minecraftforge:forge:1.12.2-14.23.5.2854_mapped_snapshot_20171003-1.12

  6. FAILURE: Build failed with an exception.

  7. * What went wrong:
  8. Task 'setupDecompWorkspace' not found in root project 'MYMOD'.

  9. * Try:
  10. Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  11. * Get more help at https://help.gradle.org

  12. Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
  13. Use '--warning-mode all' to show the individual deprecation warnings.
  14. See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warnings

  15. BUILD FAILED in 9s
复制代码
请问这是怎么回事?
文件夹:


CMD:
MDK版本号:
forge-1.12.2-14.23.5.2847-mdk



youyihj
Forge 2854 已经没有这个指令了,直接导入进 IDE 就行。
(或者换成 2847)

Redstone_Brain
youyihj 发表于 2020-9-20 21:15
Forge 2854 已经没有这个指令了,直接导入进 IDE 就行。
(或者换成 2847)

不好意思,刚才帖子里打错了,我用的是2847,但是还会出错

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