Enemy Expansion Bug Fixes

Non-invasive bug fixes, crash/spawning/dupe repairs, TPS & GeckoLib rendering optimizations, and datapack/localization fixes for Enemy Expansion.
Back to Files

1.20.1-Forge-Enemy Expansion Bug Fixes-1.0.0

File nameenemyexpansionbugfix-1.20.1-forge-1.0.0.jar
Uploader
hp12138hp12138
Uploaded
Nov 28, 2026
Downloads
12
Size
334.5 KB
Mod Loaders
Forge
File ID
9868902
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:enemy-expansion-bug-fixes-1837361:9868902")

Learn more about Curse Maven

What's new

1.0.0

Initial release of Enemy Expansion Bug Fixes for Enemy Expansion (2.3.1, 1.20.1 Forge) — shipping 123 Mixins (112 common + 11 client), 9 datapack fixes, and a top-priority built-in client resource override pack (130 symmetric en_us / zh_cn keys), all configurable via enemyexpansionbugfix-common.toml and enemyexpansionbugfix-client.toml.

  • Core, Dedicated Server & Crash Guards:
    • Fixed VampireAttackProcedure#removeAllEffects() triggering ConcurrentModificationException server crashes (Neruina #219).
    • Removed client-only Minecraft.getInstance() calls from CrawlerCollideProcedure, TrollHurtProcedure, and TrollEnragedHurtProcedure for physical dedicated servers.
    • Hardened EnemyexpansionMod.workQueue (tick <= 0 clamp, strict server thread check, O(N) removal, per-task exception isolation, server-stop cleanup) and all 17 scheduled callbacks; wrapped StarvedGUISlotMessage network registration in enqueueWork.
    • Guarded 12 PlayerAdvancements#getOrStartProgress(null) NPE sites; replaced global EntityJoinLevelEvent /team add Silverfriends console spam with a single ServerStartedEvent Scoreboard initialization.
    • Hardened StarvedGUIMenu (stillValid distance/dimension/alive checks, server-authoritative slotChanged restoring the unobtainable starved_steal advancement), StarvedGUISlotMessage, and StarvedEntity (cached capability LazyOptional, invalidateCaps(), slot clearing on drop).
  • Spawning, Entities, AI & Projectiles:
    • Restored vanilla light, Peaceful difficulty, and block checks across 13 natural-spawning mobs (with independent cave/surface light toggles), added scaled hitbox clearance for Intruder and Direwolf, and added configurable summon density caps.
    • Clamped 29 entities from 64-chunk tracking ranges, fixed MobCategory misclassifications (goblin_fear, invisicreeper, drone), fixed wild Meature never despawning & tamed targeting, fixed 4 flying mobs' null-target Goal crashes and underground pathing, prevented Drone friendly fire and Tarantula biting its rider.
    • Fixed all 25 GeoEntity subclasses dropping double XP, skipping death smoke, and calling refreshDimensions() every tick; moved all 20 entities' hurt procedures after immunity checks & super.hurt(); upgraded explosion immunity on Crawler, Faller, Intruder, and Troll to DamageTypeTags.IS_EXPLOSION (MCR-60) so PLAYER_EXPLOSION is blocked and CREEPSDONTDIEEXPLODING=true works reliably.
    • Hardened all 3 AbstractArrow projectiles (WaspThorax, HealingEye, PhantomEye) against static PROJECTILE_ITEM corruption, pickup dupes, arrowCount underflow, infinite flight, and critical friendly fire.
  • Combat, Effects & Server TPS:
    • Guarded all 6 removeAttributeModifiers-bound MobEffects against premature firing on renewal/milk/totem/death; preserved HP/names/persistence on Troll/Vampire transformations.
    • Replaced per-tick 32x32x32 entity stream sorting in SwiftFlightActiveProcedure with direct target lookup; replaced Brigadier command spam (MeatureKills, DireLeap, SilverheadHat, ExplosiveLaunch) with native Java APIs; fixed ScorpionTailHit wrong-inventory consumption, 4 offhand-eating interactions, Faller/Ladybug/Phantasm per-tick effect storms, and 3 inline random loop bounds.
  • Datapacks, Client Rendering & Localization:
    • Restored trollenraged.json, added looting_enchant to scorpion.json/wasp.json, fixed #forge:is_flutterfly, #forge:is_eyestalker, gladius/wolfsbane/tarantula biome modifiers, and silver_exes.mcfunction.
    • Optimized EntityAnimationFactory, switched 25 opaque GeoEntityRenderer classes to entityCutoutNoCull, cached GeoModel paths & 4 3D helmet bakeLayer calls, fixed 19 ENTITY_MODEL_DATA NPEs, 7 glowing layers, Vampflyer death rotation, Modelsilverhat Z-fighting, StarvedGUIScreen alignment, and localized 9 hardcoded English tooltips & container titles with complete en_us / zh_cn translations.

版本 1.0.0

Enemy Expansion Bug Fixes(敌人拓展漏洞修复) 首个正式版本,针对 Enemy Expansion(2.3.1,1.20.1 Forge) 包含 123 个 Mixin(通用 112 + 客户端 11)、9 份数据包修复 与 顶层内置客户端覆盖资源包(130 键 100% 对等中英文),全部核心模块均可通过 enemyexpansionbugfix-common.toml 与 enemyexpansionbugfix-client.toml 独立开关。

  • 核心稳定性、专用服务端与防崩保护:
    • 根治 VampireAttackProcedure#removeAllEffects() 引发的 ConcurrentModificationException 崩服(Neruina #219)。
    • 移除 CrawlerCollideProcedure、TrollHurtProcedure 与 TrollEnragedHurtProcedure 中裸引的 Minecraft.getInstance(),杜绝专服崩溃。
    • 加固 EnemyexpansionMod.workQueue(tick <= 0 钳位、严格服务端线程门控、O(N) 移除、单任务异常隔离、停服清理)及全部 17 处队列回调;为 StarvedGUISlotMessage 注册包裹 enqueueWork。
    • 为 12 处 PlayerAdvancements#getOrStartProgress(null) 补齐判空;取消全局 EntityJoinLevelEvent 每实体刷屏 /team add Silverfriends,改为开服通过原生 Scoreboard API 一次性建队。
    • 加固 StarvedGUIMenu(补齐距离/维度/存活校验,将 slotChanged 迁回服务端权威触发并救活 starved_steal 成就)、StarvedGUISlotMessage 与 StarvedEntity(缓存能力、补齐 invalidateCaps() 与掉落清槽)。
  • 刷怪规则、实体 AI 与投射物:
    • 为 13 种自然刷新生物恢复原版光照、和平难度与方块校验(支持洞穴/地表光照独立开关),为 Intruder/Direwolf 补齐缩放碰撞箱净空检测,为受击/死亡召唤增加可配置密度上限。
    • 收敛 29 种实体 64 区块追踪半径、修正 3 处 MobCategory 错配,修复野生 Meature 永不消失与驯服索敌错误、4 种飞行怪空目标崩溃与地下盲选、Drone 友军互残与狼蛛咬骑手。
    • 修复全部 25 个 GeoEntity 双倍经验、缺死亡烟雾与每 tick refreshDimensions();将全部 20 怪受击过程后置至免疫与 super.hurt() 之后;将 Crawler/Faller/Intruder/Troll 爆炸免疫升级为 DamageTypeTags.IS_EXPLOSION(MCR-60),修复苦力怕/TNT/Invisicreeper 击穿免疫与 CREEPSDONTDIEEXPLODING=true 失效。
    • 双端加固全部 3 种 AbstractArrow 投射物(消除 PROJECTILE_ITEM 单例污染、补齐不可拾取、防箭矢计数负下溢、400 tick 寿命与暴击防误伤队友)。
  • 战斗、药水效果与服务端 TPS:
    • 为 6 个错挂 removeAttributeModifiers 的药水效果补齐续期/喝牛奶/图腾/死亡防误触守卫;以原生实体创建替换 /summon 变形并继承血量/命名/持久性。
    • 消除 SwiftFlightActiveProcedure 每 tick 32×32×32 全实体流排序;以原生 Java API 替换 MeatureKills/DireLeap/SilverheadHat/ExplosiveLaunch 指令滥用;修复蝎尾错扣受害者背包、4 处吞副手交互、Faller/Ladybug/Phantasm 每 tick 药水风暴及 3 处循环条件内联随机。
  • 数据包、客户端渲染与本地化:
    • 补齐 trollenraged.json 战利品表与 scorpion/wasp 抢夺附魔,修复 #forge:is_flutterfly/#forge:is_eyestalker、gladius/wolfsbane/tarantula 群系修饰器与 silver_exes.mcfunction。
    • 优化 EntityAnimationFactory,25 个不透明 GeoEntityRenderer 切回 entityCutoutNoCull,缓存 GeoModel 路径与 4 件 3D 头盔 bakeLayer,修复 19 处 ENTITY_MODEL_DATA NPE、7 个发光层、Vampflyer 死亡僵直、Modelsilverhat 重面 Z-Fighting、StarvedGUIScreen 错位,本地化全部 9 处硬编码 Tooltip 与界面标题并附带完整中英文译文。