Links
Tags
Creators
Details
1.17.0
Compatibility
Changes
此为测试版本,这是我做好要准备在正式版本添加的功能
优化状态效果转移的判定:对僵尸有明确的属性减少为负面效果
添加可修改的僵尸继承效果的机制的配置文件
可改的有
僵尸是否有继承状态效果的能力
僵尸继承效果的时长
还有状态效果的黑名单和白名单
说明:状态效果ID黑名单 列表中的效果一律视为负面效果,僵尸会将其转移给周围血量最低的僵尸, 即使该效果的分类不是负面(如正面分类但实际有负面作用的效果)。 格式为 "命名空间:效果ID","命名空间:效果ID"
状态效果ID白名单
列表中的效果一律视为正面效果,僵尸不会转移它们,
即使该效果的分类是负面(如负面分类但实际无害的效果)。
格式为 命名空间:效果ID,例如 minecraft:weakness。
English
This is a test version. This is the feature I have prepared to add in the official release:
Optimize the determination of status effect transfer for zombies: explicitly treat attribute reductions as negative effects.
Add a configurable mechanism for zombies to inherit status effects, with the following adjustable options:
Whether zombies have the ability to inherit status effects.
The duration for which zombies inherit status effects.
A blacklist and a whitelist for status effects.
Description:
Status Effect ID Blacklist Effects in this list are always treated as negative effects. Zombies will transfer them to the nearest zombie with the lowest health, even if the effect's category is not negative (e.g., effects classified as positive but with actual negative consequences). Format: namespace:effect_id, namespace:effect_id
Status Effect ID Whitelist Effects in this list are always treated as positive effects. Zombies will not transfer them, even if the effect's category is negative (e.g., effects classified as negative but actually harmless). Format: namespace:effect_id, for example minecraft:weakness.
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:VO9yODj7:x4A2FJA6"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:VO9yODj7:x4A2FJA6"
}

