本帖最后由 HerobrineQWQ 于 2020-10-3 07:09 编辑
我按照教程上面的步骤做了一下,
把MDK里所有的文件复制粘贴到我的MOD的目录下,
并且CMD切换到我的MOD的根目录并执行:
复制代码命令。
但运行时出错:
复制代码请问这是怎么回事?
文件夹:
CMD:
MDK版本号:
forge-1.12.2-14.23.5.2847-mdk
我按照教程上面的步骤做了一下,
把MDK里所有的文件复制粘贴到我的MOD的目录下,
并且CMD切换到我的MOD的根目录并执行:
- gradlew setupDecompWorkspace
但运行时出错:
- C:\Users\65342\Desktop\MYMOD>gradlew setupDecompWorkspace
- 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.
- Daemon will be stopped at the end of the build stopping after processing
- > Configure project :
- New Dep: net.minecraftforge:forge:1.12.2-14.23.5.2854_mapped_snapshot_20171003-1.12
- FAILURE: Build failed with an exception.
- * What went wrong:
- Task 'setupDecompWorkspace' not found in root project 'MYMOD'.
- * Try:
- 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.
- * Get more help at https://help.gradle.org
- Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
- Use '--warning-mode all' to show the individual deprecation warnings.
- See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warnings
- BUILD FAILED in 9s
文件夹:

CMD:

forge-1.12.2-14.23.5.2847-mdk
Forge 2854 已经没有这个指令了,直接导入进 IDE 就行。
(或者换成 2847)
(或者换成 2847)
youyihj 发表于 2020-9-20 21:15
Forge 2854 已经没有这个指令了,直接导入进 IDE 就行。
(或者换成 2847)
不好意思,刚才帖子里打错了,我用的是2847,但是还会出错