Task 'setupDecompWorkspace' not found in root project 'MyMod
mcmod吧
全部回复
仅看楼主
level 1
我第一次开发mod,按照手册的指导下载了1.12.2的MDK并将它拷贝至一个新文件夹"MyMod",然后在这个文件夹里用cmd运行了"gradlew setupDecompWorkspace",然后它运行了一小会就炸了:
C:\Users\*****\Desktop\java_work\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 43s
请问有谁能帮帮我?谢啦~
2021年04月28日 10点04分 1
level 6
现在不是用setupDecompWorkspace了,而是setupEclipseRuns或者你用IDEA你可以看看Readme.txt里怎么讲的
2021年06月26日 23点06分 2
这是高版本的安装方法啊,低版本还是原来的
2021年09月21日 01点09分
level 1

谢谢!
2025年07月17日 06点07分 4
1