promotional bannermobile promotional banner

Terramity Bug Fixes

Comprehensive bug fixes, stability patches, and FPS/TPS performance optimizations for Terramity (1.20.1 Forge).

Terramity Bug Fixes

Terramity Bug Fixes is a comprehensive external bug-fix, stability, and performance addon for Terramity (>= 0.9.8) on Minecraft 1.20.1 (Forge). Built from a full-class audit of all 2,267 classes in Terramity alongside community issue reports, it resolves critical crashes, privilege-escalation exploits, world/save corruption, item duplication, server TPS spikes, and severe client FPS drops without modifying the original mod JAR or altering intended gameplay balance.

Recommended on both Client and Server (server provides all gameplay, crash, TPS, and datapack fixes; client adds shader caching, armor model caching, HUD overlay short-circuiting, and high-priority built-in resource/localization fixes).

Key Fixes & Optimizations

1. Critical Crashes, Exploits & Save Corruption

  • Permanent Attribute & Save Corruption Fix (Curios & Effects): Replaced permanent base-value mutations across 40 Curios trinkets, FlippedGravity, and EntityAttacking with transient AttributeModifiers; disabled destructive login attribute subtraction and added automatic self-healing for existing saves affected by broken max health, negative step height, or stuck gravity (0.02 / negative).
  • Privilege Escalation & Runtime Crash Guards: Fixed UniversalTranscendence permanently promoting Adventure/renewed Survival players to Creative mode; fixed DivineFlight leaving permanent creative flight; fixed MortalFlight NPE on non-players, Hexed offset lookup NPE, and Immunity ConcurrentModificationException.
  • Network & Portable Container Security: Hardened 9 C2S network packets with server-side validation; fixed client crash NPEs when syncing Ammo Bag, Blood Contract, and Ocarina of Power without an "Inventory" NBT key; added server-side ItemTossEvent container closing; fixed startup concurrency races in TerramityModGameRules and TerramityModCompostableItems.
  • Combat, Dupe & World-State Bugs: Fixed Gob death handler deleting the killer player; fixed TimeObtain infinitely duplicating music sheets; fixed Fateful Coin applying double 2.25x damage; fixed Fragile Divinity bypassing totems and damage immunity; fixed Cardboard Pop-Up Fort ladder duping and container wiping; fixed Slot Machine wiping NBT / permanently locking; fixed Chronoseraph Clock rewinding world time forever starting on Day 2.

2. Server TPS & Client FPS Performance

  • Chthonian Dungeon 2 FPS Fix: Cached custom shaders for Chthonian Void and Moonstone Lamp via RegisterShadersEvent with same-block face culling; cached all 14 custom armor sets (43 model parts); short-circuited all 6 client HUD overlays before RenderSystem.disableDepthTest() to eliminate 66 redundant GL state changes per frame.
  • Boss & World-Scan Optimization: Replaced synchronous multi-million-block scans in Circe/Merlin (~2.04M blocks) and Trial Guardian (~970K blocks) with chunk-section palette scans; replaced thousands of Brigadier particle/sound commands in 5 Boss shockwave skills with native APIs; throttled/protected SupernovaExplosion and prevented Moondrill Cannon from breaking Bedrock/unbreakable blocks.
  • Work Queue & Entity Leak Protection: Hardened TerramityMod.workQueue against <= 0 tick leaks, uncaught exceptions, O(N*M) removal, and cross-world leftover tasks; eliminated per-tick work-queue flooding in 6 projectiles and capped lifetime across 36 persistent projectiles; cached EnchantmentCategory#canEnchant across all 12 Terramity enchantments; removed per-tick idle overhead on Fairy Jars, Spikes, Stygian Blood, Shadowstep, and EntityAnimationFactory.

3. Compatibility, Spawning, Bosses & Localization

  • Ammo & Modular Tool Compatibility: Relaxed overly strict NBT matching in 43 gun/fairy reload checks to restore compatibility with mods such as Create: Destroy; extended Moonstone Lamp and all 4 high-tier ore tiers (PlusThreeOrBetter) to support Tinkers' Construct, Tetra, Mekanism, and other modular tools; added missing MapColors for 159 blocks, cosmic_ore loot table, restored vanilla hoglin drops, and fixed 7 broken advancement chains.
  • Spawning & Boss Reliability: Added Peaceful checks for Thunker/Uvogre and local density caps for Fairies, Gobs, and Ogres; fixed Super/Ultra Sniffer and Wizard Duo phase-transform duplication, restart invulnerability soft-locks, and multiplayer Boss despawning; reclassified 18 non-mob skill entities from MONSTER to MISC and clamped excessive tracking ranges across 81 entities.
  • High-Priority Built-in Client Fixes & Localization: Bundled an always-enabled Pack.Position.TOP client override pack fixing 3 malformed JSONs (including Patchouli credits.json), 15 projectile models, missing particle textures, and swapped zh_cn gun names; converted hardcoded English tooltips, chat prompts, and container names to translatable keys.

Configuration

All major fixes, spawn density caps, and client rendering optimizations can be toggled individually in config/terramitybugfix-common.toml and config/terramitybugfix-client.toml.


泰拉秘境 Bug 修复(Terramity Bug Fixes)

Terramity Bug Fixes(泰拉秘境 Bug 修复) 是面向 Minecraft 1.20.1(Forge) 模组 《泰拉秘境》(Terramity,>= 0.9.8) 的外部缺陷修复、稳定性与性能优化附属模组。本模组基于对原模组全部 2,267 个顶层类的逐批深度源码/字节码审计及社区长期反馈打造,采用纯外部 Mixin、数据包与顶层内置资源包实现,不修改原模组 JAR,在不破坏原版玩法平衡的前提下集中解决崩溃、提权漏洞、坏档、刷物品、服务端卡顿与客户端帧率暴跌问题。

建议服务端与客户端同时安装(服务端提供全部逻辑、防崩、TPS 优化与数据包修复;客户端额外提供着色器缓存、盔甲模型缓存、HUD 短路与高优先级资源/语言修复)。

核心修复与优化一览

1. 严重崩溃、提权漏洞与坏档修复

  • 饰品与状态效果永久坏档根治:将 40 件 Curios 饰品及 FlippedGravity/EntityAttacking 改为标准瞬态 AttributeModifier,禁用登录扣属性脚本,并自动自愈旧存档中已损坏的最大生命值、负跨步高度与异常重力(0.02 或负值)。
  • 提权与运行期崩溃防护:修复 UniversalTranscendence 将冒险模式及续期生存玩家永久提权为创造模式的漏洞;修复 DivineFlight 永久留存创造飞行;修复 MortalFlight 非玩家实体 NPE、Hexed 偏移查询 NPE 与 Immunity 并发修改异常(CME)。
  • 网络包与便携容器加固:加固 9 个 C2S 网络包服务端权限校验;修复 Ammo Bag、Blood Contract、Ocarina of Power 同步无 "Inventory" 键 NBT 时客户端必发 NPE 崩溃;补齐服务端丢弃物品关闭便携界面;修复 TerramityModGameRules 与 TerramityModCompostableItems 启动并发竞态。
  • 战斗、刷物与世界状态缺陷:修复 Gob 击杀事件误删击杀者玩家;修复 TimeObtain 修改副本无限刷时之乐谱;修复 Fateful Coin 受伤双倍 2.25× 叠乘;修复 Fragile Divinity 绕过图腾与免疫直接致死;修复 Cardboard Pop-Up Fort 无限刷梯子与吞箱子;修复 Slot Machine 吞 NBT/永久锁死;修复 Chronoseraph Clock 第 2 天起永久倒拨世界时间。

2. 服务端 TPS 与客户端 FPS 性能优化

  • 冥渊地牢 2 FPS 暴跌根治:通过 RegisterShadersEvent 缓存 Chthonian Void 与 Moonstone Lamp 自定义着色器并启用同类邻面剔除;缓存全部 14 套(43 部件)自定义盔甲烘焙模型;为全部 6 个客户端 HUD 覆盖层添加前置条件短路,消除每帧 66 次无意义 OpenGL 状态切换。
  • Boss 战与百万格扫描优化:将 Circe/Merlin(204 万格)与 Trial Guardian(97 万格)同步全格扫描替换为区块段调色板扫描;将 5 种 Boss 冲击波的数千条命令解析替换为原生粒子与方块实体 API;保护并分批处理 SupernovaExplosion(原单 tick 49 万格)与 Moondrill Cannon(防止挖穿基岩与不可破坏方块)。
  • 延时队列与实体泄漏兜底:加固 TerramityMod.workQueue(修复 <= 0 刻永久泄漏、异常中断、O(N*M) 删除与跨存档残留);消除 6 种弹射物每 tick 灌入全局队列并限制 36 种弹射物最大存活时间;缓存全部 12 种 Terramity 附魔的 EnchantmentCategory#canEnchant;消除仙灵罐、尖刺、冥河之血、暗影步与实体动画工厂高频空转。

3. 模组兼容、刷怪、Boss 流程与本地化

  • 弹药与模块化工具兼容:放宽 43 处枪械与仙灵瓶装弹时的严格 NBT 匹配以兼容 Create: Destroy 等模组;扩展 Moonstone Lamp 与全部 4 阶高阶矿(含 PlusThreeOrBetter)挖掘判定以兼容匠魂、Tetra、Mekanism 等模块化工具;补齐 159 个可见方块的 MapColor、cosmic_ore 战利品表、还原原版 hoglin 掉落并修复 7 条断链进度。
  • 刷怪与 Boss 健壮性:为 Thunker/Uvogre 补齐和平模式判定,为仙灵/地精/食人魔增加局部密度上限;修复超级/究极嗅探兽与巫师双人组死亡变身重入复制、重启后永久无敌隐身软锁及多人联机误清 Boss;将 18 个非怪物技能实体从 MONSTER 修正为 MISC 并收敛 81 种实体超大追踪半径。
  • 高优先级客户端资源与本地化:内置始终启用的 Pack.Position.TOP 覆盖资源包,修复 3 个损坏 JSON(含 Patchouli credits.json)、15 个弹射物模型、缺失粒子贴图及简中两把枪名称颠倒问题;将硬编码英文 Tooltip、聊天提示与容器名转为可翻译键。

配置文件说明

所有高影响修复、刷怪密度上限与客户端渲染优化均可在 config/terramitybugfix-common.toml 与 config/terramitybugfix-client.toml 中独立开关与微调。

Terramity Bug Fixes Team

profile avatar
Owner
High Crafter tier icon
  • 20
    Followers
  • 112
    Projects
  • 1.1M
    Downloads

More from hp12138View all

  • Unusual End Bug Fixes project image

    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.

    • 6
    • November 27, 2026
  • Born in Chaos Bug Fixes project image

    Born in Chaos Bug Fixes

    A bug-fix and stability addon for Born in Chaos, fixing server crashes, memory/scoreboard leaks, runaway mob summoning, Boss combat bugs, and item duplication exploits while keeping original mechanics intact.

    • 309
    • November 27, 2026
  • Enlightend Bug Fixes project image

    Enlightend Bug Fixes

    Lightweight bugfix, server crash & packet storm fix, Xaero map visibility, and modular tool compatibility addon for Enlightend.

    • 8
    • November 27, 2026
  • Stalwart Dungeons Bug Fixes project image

    Stalwart Dungeons Bug Fixes

    Bug fixes and performance optimizations for Stalwart Dungeons.

    • 12
    • November 26, 2026
  • Unusual End Bug Fixes project image

    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.

    • 6
    • November 27, 2026
  • Born in Chaos Bug Fixes project image

    Born in Chaos Bug Fixes

    A bug-fix and stability addon for Born in Chaos, fixing server crashes, memory/scoreboard leaks, runaway mob summoning, Boss combat bugs, and item duplication exploits while keeping original mechanics intact.

    • 309
    • November 27, 2026
  • Enlightend Bug Fixes project image

    Enlightend Bug Fixes

    Lightweight bugfix, server crash & packet storm fix, Xaero map visibility, and modular tool compatibility addon for Enlightend.

    • 8
    • November 27, 2026
  • Stalwart Dungeons Bug Fixes project image

    Stalwart Dungeons Bug Fixes

    Bug fixes and performance optimizations for Stalwart Dungeons.

    • 12
    • November 26, 2026