1.0.5
Compatibility
Changes
The entire project code has been completely restructured, creating a multi-target attack algorithm that is fully independent of the vanilla system, while remaining compatible with two vanilla interfaces — setting and getting the仇恨目标 (target/aggro). This means it will be adaptable to mob battle mods (Douququ mods) that enable creatures to fight each other. 全面重构了整个项目代码,创建了一个完全独立于原版的多目标攻击算法,并且兼容原版的两个接口——设置和获取仇恨目标,这意味着它将可以适配斗蛐蛐模组。
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:L0xDWHFs:KdSyyhYO"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:L0xDWHFs:KdSyyhYO"
}

