Links
Tags
Creators
Details
All versions
1.5.0
Release
SerendiModGuarder 1.5.03 months ago 11
Compatibility
Minecraft: Java Edition
26.2
26.1.x
1.21.x
1.20.6
Platform
Fabric
Supported environments
Client and server
Changes
v1.5.0 改动:
- 客户端在登录响应末尾传输自己的 Mod 版本号
- 服务端读取版本号,与自身版本对比,不一致则拒绝登录
- 版本信息加入 SHA256 hash 计算中,防止篡改
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:ZjTPMIxt:27w6LWJj"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:ZjTPMIxt:27w6LWJj"
}

