Links
Tags
Creators
Details
1.25.0
Compatibility
Changes
请原谅我
机制优化与新增功能说明
-
坐骑移动速度逻辑 当僵尸骑乘僵尸马移动时,其移动速度将直接采用僵尸马的奔跑速度,而非僵尸本身的闲逛速度,以确保骑乘状态下的机动性更加真实且具有威胁性。
-
僵尸机制应用条件重构(取消强制继承) 移除原有的“基于生物是否拥有僵尸ID或继承僵尸类型而自动应用本模组AI与机制”的硬性绑定逻辑。所有机制的触发将改为由可配置项完全控制。
-
通用兼容性配置(替代硬编码ID) 新增一个可配置列表(支持填入生物ID或模组ID):
填入单个生物ID:仅该特定生物获得本模组的全套僵尸机制(如攻击附带感染效果)。
填入模组ID:该模组下所有生物将统一获得上述机制。
- L2Hostility 模组联动机制 若检测到 L2Hostility 模组加载,将启用以下词条(Affix)互动规则:
继承(感染体死亡):当带有词条的感染生物死亡时,其生成的僵尸将完整继承该生物生前的所有词条。
夺取(非感染僵尸击杀):当不具备感染能力的僵尸击杀带有词条的生物时,会随机获得被击杀生物所拥有的一个词条。
注:具备感染能力的僵尸不触发此夺取机制。
转移与聚合(僵尸死亡):当带有词条的僵尸死亡时,其拥有的全部词条将强制转移给半径10格内最近的一只僵尸。若目标僵尸已拥有相同词条,则该词条等级提升。
- 新增配置选项 死亡词条继承开关:控制僵尸死亡时是否触发词条转移机制(默认:开)。
词条升级开关:控制继承相同词条时是否进行等级提升(默认:关)。
击杀夺取数量:设置“非感染僵尸”通过击杀获得的词条数量上限(可配置具体数值)。
Zombie Infection Mod – Mechanic Specifications
-
Mounted Movement Speed When a zombie rides a zombie horse, its movement speed is determined by the zombie horse's running speed, not the zombie's own walking speed. This ensures greater mobility and threat while mounted.
-
Mechanism Application – Conditional Overhaul Remove the hard‑coded logic that automatically applies the mod's AI and mechanics based on whether a mob has a zombie ID or inherits from a zombie type. Instead, all mechanics are now governed by configurable entries (see below).
-
Universal Compatibility Configuration Add a configurable list that accepts either:
Single mob ID – only that specific mob receives the full zombie mechanics (e.g., inflicting infection on attack).
Mod ID – all mobs from that mod receive the full zombie mechanics.
- L2Hostility Integration If L2Hostility is loaded, the following affix (prefix/suffix) interactions apply:
Inheritance (on infected mob death) – when an infected mob with affixes dies, the zombie spawned from it fully inherits all the affixes the mob had in life.
Acquisition (non‑infectious zombie kills) – when a zombie without infection ability kills an affix‑bearing mob, it randomly gains one of the victim's affixes.
Note: infectious zombies do NOT trigger this acquisition mechanic.
Transfer & Stacking (on zombie death) – when an affix‑bearing zombie dies, all its affixes are forcibly transferred to the nearest zombie within a 10‑block radius. If the recipient already has the same affix, that affix's level increases (upgrades).
- New Configuration Options Death Affix Inheritance Toggle – enables/disables affix transfer on zombie death (default: ON).
Affix Upgrade Toggle – enables/disables level‑up when the same affix is inherited (default: OFF).
Acquisition Count – configurable maximum number of affixes a non‑infectious zombie can gain from a single kill (value adjustable).
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:L5aWaZoo"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:VO9yODj7:L5aWaZoo"
}