promotional bannermobile promotional banner

Unusual End Bug Fixes

A non-invasive bug-fix, performance, and compatibility addon for Unusual End, resolving crashes, sync storms, gameplay regressions, broken models, and datapack/localization issues.
Back to Files

1.20.1-Forge-Unusual End Bug Fixes-1.1.2

File nameunusualendbugfix-1.20.1-forge-1.1.2.jar
Uploader
hp12138hp12138
Uploaded
Nov 27, 2026
Downloads
2
Size
187.6 KB
Mod Loaders
Forge
File ID
9847009
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:unusual-end-bug-fixes-1832455:9847009")

Learn more about Curse Maven

What's new

1.1.2

  • MobEffect Tick CME Prevention (MCR-55):
    • Fixed EnderInfectionOnEffectActiveTickProcedure, SerenityOnEffectActiveTickProcedure, and DivideSerenityProcedure directly calling LivingEntity#removeEffect(...) / addEffect(...) during LivingEntity#tickEffects() iteration, which triggered a swallowed ConcurrentModificationException and skipped ticking/decrementing all remaining active effects on that entity for that tick. Removals and refreshes are now safely deferred by 1 tick on the server via UnusualEnd.queueServerWork.
  • Serenity Infinite-Duration Bug Fix:
    • Fixed DivideSerenityProcedure computing duration / 2 - 20, which produced -1 when remaining duration was near 38 ticks and passed -1 (INFINITE_DURATION) into new MobEffectInstance(...), unintentionally granting permanent infinite Serenity. Non-positive resulting durations now cleanly end Serenity instead.

版本 1.1.2

  • 药水活跃刻并发修改异常修复(MCR-55):
    • 修复 EnderInfectionOnEffectActiveTickProcedure、SerenityOnEffectActiveTickProcedure 与 DivideSerenityProcedure 在 LivingEntity#tickEffects() 遍历期间直接调用 removeEffect / addEffect 触发 ConcurrentModificationException(被原版吞掉),导致该实体本 tick 剩余全部药水效果跳过结算与倒计时的问题;现已改为服务端延迟 1 tick 通过 UnusualEnd.queueServerWork 安全执行。
  • 宁静效果意外变成永久无限时长修复:
    • 修复 DivideSerenityProcedure 在剩余时长接近 38 tick 时计算 duration / 2 - 20 = -1 并传入 new MobEffectInstance(..., -1, ...) 导致宁静效果变成永久无限时长(INFINITE_DURATION)的缺陷;当折半后时长 <= 0 时改为正常结束效果。