我想把这个mod (https://github.com/LambdAurora/MCPatcherPatcher)更新到我的世界版本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我认为国防部需要这个pom文件https://maven.terraformersmc.com/releases/com/terraformersmc/modmenu/2.0.14,,但我不知道如何告诉它在哪里找到这个文件。我真的很乐意帮忙,谢谢:)
发布于 2022-04-06 23:32:55
您需要将maven存储库添加到repositories文件的build.gradle部分:
repositories {
maven {
url "https://maven.terraformersmc.com/releases"
}
}https://stackoverflow.com/questions/71627234
复制相似问题