我想将这个 mod(https://github.com/LambdAurora/MCPatcherPatcher)更新到 minecraft 版本 1.17.1,我已经学到了很多。如果你一周前问我 gradle 是什么或者 github 是如何工作的,我会给你一个空白的凝视。
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':fabric'.
> Could not resolve all dependencies for configuration ':fabric:modImplementation'.
> Could not find com.terraformersmc:modmenu:2.0.14.
Searched in the following locations:
- file:/C:/Users/thijm/.m2/repository/com/terraformersmc/modmenu/2.0.14/modmenu-2.0.14.pom
- https://repo.maven.apache.org/maven2/com/terraformersmc/modmenu/2.0.14/modmenu-2.0.14.pom
- https://aperlambda.github.io/maven/com/terraformersmc/modmenu/2.0.14/modmenu-2.0.14.pom
- file:/C:/Users/thijm/Desktop/test 1171/nieuw3/MCPatcherPatcher-main/.gradle/loom-cache/remapped_mods/com/terraformersmc/modmenu/2.0.14/modmenu-2.0.14.pom
- https://maven.fabricmc.net/com/terraformersmc/modmenu/2.0.14/modmenu-2.0.14.pom
- https://libraries.minecraft.net/com/terraformersmc/modmenu/2.0.14/modmenu-2.0.14.pom
- file:/C:/Users/thijm/.gradle/caches/fabric-loom/2.0.14/modmenu.jar
- file:/C:/Users/thijm/Desktop/test 1171/nieuw3/MCPatcherPatcher-main/.gradle/loom-cache/2.0.14/modmenu.jar
- https://server.bbkr.space/artifactory/libs-snapshot/com/terraformersmc/modmenu/2.0.14/modmenu-2.0.14.pom
Required by:
project :fabric
我认为 mod 需要这个 pom 文件 [https:/ / maven.terraformersmc.com / releases / com / terraformersmc / modmenu / 2.0.14],但我不知道如何告诉它在哪里找到这个文件。
您需要将 maven 存储库添加到build.gradle
文件的repositories
部分:
repositories {
maven {
url "https://maven.terraformersmc.com/releases"
}
}
本站系公益性非盈利分享网址,本文来自用户投稿,不代表码文网立场,如若转载,请注明出处
评论列表(87条)