我想开始在 minecraft 中制作 mod,当我尝试运行 Gradlew setupDecompWorkspace 时遇到问题,它给了我一个错误

发布于 2025-01-20 02:40:07 字数 960 浏览 5 评论 0原文

当我打开powershell时,我输入了./gradlew setupdecompworkspace,它给了我

* What went wrong:
Task 'setupDecompWorkspace' not found in root project 'forge-1.12.2-14.23.5.2859-mdk'.

* 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 8s
PS C:\Users\Ostrov\Desktop\Minecraft Mod Creation\forge-1.12.2-14.23.5.2859-mdk>```

It says BUILD FAILED in 8s because I tried to install it and it installed it for a few minutes but then it says there is an error and build failed

When I open powershell I typed ./gradlew setupDecompWorkspace it gives me that

* What went wrong:
Task 'setupDecompWorkspace' not found in root project 'forge-1.12.2-14.23.5.2859-mdk'.

* 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 8s
PS C:\Users\Ostrov\Desktop\Minecraft Mod Creation\forge-1.12.2-14.23.5.2859-mdk>```

It says BUILD FAILED in 8s because I tried to install it and it installed it for a few minutes but then it says there is an error and build failed

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

小草泠泠 2025-01-27 02:40:07

您是否正在使用Forge网站上的MDK?

如果您在Intellij上,则不必运行此命令。它会自动设置Gradle项目。您应该得到一个看起来像这样的UI:

”

现在,您只需单击Gradle菜单的FG_RUNS部分下的GenIntellijruns而不是键入命令。

Are you using the mdk from Forge's website?

If you're on IntelliJ, you don't have to run this command. It automatically sets up the Gradle project. You should get a UI that looks like this:

Gradle menu on IntelliJ

Now, instead of typing the command, you can just click genIntellijRuns under the fg_runs section of the Gradle menu.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文