minecraft-forge - Minecraft Forge - gradlew - 无效的修补程序依赖
问题描述
我正在尝试为 Minecraft 创建我的第一个 mod,当我尝试命令“gradlew genIntelij Runs”时遇到问题。我一直在尝试更改系统变量,但我不确定我在做什么。请你帮助我好吗?
Daemon will be stopped at the end of the build stopping after processing
> Configure project :
Java: 1.8.0_301 JVM: 25.301-b09(Oracle Corporation) Arch: amd64
New Dep: net.minecraftforge:forge:1.16.3-34.1.42_mapped_snapshot_20201028-1.16.3
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'Tutorial'.
> Invalid patcher dependency: net.minecraftforge:forge:1.16.3-34.1.42:userdev
* Try:
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.10.3/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 5s
解决方案
Invalid patcher dependency: net.minecraftforge:forge:1.16.3-34.1.42:userdev
,很可能,您的依赖项没有正确安装。清除您的 gradle 缓存并运行命令gradlew eclipse
以再次解决所有依赖项,您的问题应该得到解决。
我还建议升级到 1.16.5 或 1.17.1,因为您可以获得更好的帮助和补丁。
推荐阅读
- google-chrome - 在 localhost 上打开开发工具时会删除 Cookie
- javascript - React/MaterialUI:如何尊重字符串中的空格?
- python - 当我的机器人 DM 对某个消息做出反应时,我如何让他们成为用户?
- javascript - signInWithCustomToken firebase - user not staying logged in
- react-native - Catch error ChangePassword in react native
- html - my web pages are not opening until I turn vs code live server how can i fix it?
- jsf - primeface v10 commandButton is not working
- c# - C# data types mapping in sql
- google-apps-script - How to Create a Break Between Sentences for a Pop Up Message in Google Sheets
- rust - 使用迭代器的所有权问题