promotional bannermobile promotional banner

The Deep Void Bug Fixes

Comprehensive bug-fix, stability, anti-dupe, compatibility, and performance patch mod for The Deep Void (1.99.5).

The Deep Void Bug Fixes is a comprehensive bug-fix, stability, compatibility, and performance patch mod for The Deep Void (1.99.5).

Every fix is derived from a 100% class-by-class audit of all 3,118 classes, 2,695 datapack files, and 5,169 client assets in The Deep Void, combined with community issue verification — preserving vanilla gameplay and visual aesthetics while providing granular toggles in thedeepvoidbugfix-common.toml and thedeepvoidbugfix-client.toml.

Key Fixes & Optimizations

Core Stability, Thread Safety & Dedicated Server Fixes

  • WorkQueue Hardening: Clamps tick <= 0 tasks to prevent permanent queue leaks (such as Tombstone hit callbacks), replaces \(O(N \times M)\) removal with \(O(N)\) iteration, isolates per-task exceptions, and clears stale tasks on server stop.
  • Parallel Startup Thread Safety: Wraps ComposterBlock.COMPOSTABLES, GameRules.register, and ItemBlockRenderTypes.setRenderLayer registrations safely to prevent random multi-mod startup crashes; suppresses the legacy duplicate net.mcreator dimension registration.
  • Dedicated Server Crash Guards: Isolates client-only Screen.hasShiftDown() / Minecraft.getInstance() references across 57 item tooltips, ItemTooltipEvent handlers, ItemAnimationFactory, and checkGamemode procedures.
  • Variables, Advancements & FakePlayer Safety: Fixes PlayerVariables null/non-CompoundTag casts, client login NPEs, clonePlayer calling revive() instead of reviveCaps() / invalidateCaps(), FakePlayer null-channel packet crashes, PlayerAdvancements#getOrStartProgress(null) NPEs, and multi-dimension HunterCooldown / SoulWings / DeadInside packet storms.
  • Cross-Dimension Transfers: Replaces broken manual ClientboundGameEventPacket.WIN_GAME dimension switches across all 7 active transfer procedures (fixes unintended End Poem popups and desyncs).

Exploits, Dupes, Containers & Networking

  • Anti-Dupe & Packet Security: Hardens all 12 keybinding packets and 4 GUI packets with server-side direction, alive/non-spectator, open container type, and reach validation. Fixes cross-container arbitrary item duplication in Undertaker Trade GUI, client-side slot-trigger 0-cost duping in Soul Forge & Undertaker Trade GUIs, portable crafting table remote exploits, MountFly mount duplication/theft, AncientPot & MistedHeart ArmorStand dupes, GluttonBlockHopper / Mimic ItemStack.EMPTY singleton corruption, and Bismuth XP bottle level-conversion exploits.
  • Necrosed Skin Backpack: Fixes anvil-rename / NBT-change readShareTag NPEs, fixes ItemTossEvent running client-only / cross-thread, locks container nesting (Shulker Boxes and containers), and enforces strict stillValid checks.

Blocks, Map Colors, Modular Tools & Worldgen

  • Map Visibility: Assigns appropriate MapColor values to all 299 visible blocks that previously defaulted to MapColor.NONE (restoring visibility on vanilla maps and minimap mods).
  • Standard Tool Compatibility: Removes hardcoded instanceof PickaxeItem/AxeItem checks from 6 blocks and supplements standard mineable/* and needs_*_tool tags so modular and modded tools work natively; restores all 3 broken mineBlock tool effects (Bismuth Netherite Pickaxe/Hoe bonus XP and Gravedigger Shovel corpse chaining).
  • Block & BlockEntity Hardening: Fixes missing noOcclusion() on dungeon bars/spawners, missing noCollission() on buttons/pressure plates/Blue Fire, Red Gate skylight propagation, idle scheduled tick / sendBlockUpdated storms, and secures all 14 BlockEntities (blocking hoppers from voiding items into decorative Sarcophagus blocks).
  • Worldgen & Structure Safety: Hardens StructureFeature (Mirror.FRONT_BACK, get() instead of getOrCreate(), WorldGenRegion 3×3 chunk bounding-box clamping), cleans 13 active structure NBTs, and clamps 6 oversized delta_feature configurations to eliminate Detected setBlock in a far chunk errors.

Entities, Combat, Bosses & Effects

  • Entity Tracking, Categories & Spawning: Normalizes all 190 entity tracking ranges (e.g., fixing 8,000-chunk tracking on Idling Apostle and 1-chunk invisible skill entities), corrects 57 misclassified MobCategory.MONSTER non-hostile/NPC/mount/effect entities, and fixes wild tamable monsters hogging the mob cap.
  • 54 Projectiles & AI: Fixes static PROJECTILE_ITEM singleton mutation on both sides, adds configurable projectile lifetime limits, fixes 108 constant-size GeoEntity per-tick refreshDimensions() spam, allows /kill & void damage on 4 unkillable entities, and fixes BlackFly/Swarmer Goal NPEs and RangedAttackGoal pathing spikes.
  • Bosses, Effects & Combat: Fixes Soul Orb 8×8×8 shatter lag, Primordial Bone Crawler 0-damage & mid-air softlocks, Stalker server crashes, VoidCloak permanent Spectator/Creative privilege escalation, Vulture set infinite loops, damage reflection StackOverflowError, Ichor Greatsword wrong-UUID permanent damage bonus, Knightfish -99 negative hunger underflow, 7 weapons damaging targets instead of attackers in hurtEnemy, MobEffect early-expiration triggers on renewal/milk, applyEffectTick ConcurrentModificationException interruptions, double-displacement teleports, and dynamic random loop bounds.
  • Datapack & Loot Polish: Adds looting_enchant to 48 entity loot tables, fixes 5 Better Combat weapon configs, and marks custom JEI recipes isSpecial() = true to stop recipe-book log spam.

Client Rendering, Assets & Localization

  • GeckoLib & Model Performance: Optimizes EntityAnimationFactory, ItemAnimationFactory (eliminates 4× per-tick unconditional ItemStack.copy()), and ArmorAnimationFactory (stops clearing third-party mod Geo armor animations); switches 112 opaque Geo renderers from entityTranslucent to entityCutoutNoCull (preserving truly translucent entities); fixes uppercase "Head" bone tracking on 7 GeoModels; caches 3D armor and 12 MobRenderer layer bakeLayer calls.
  • HUD, Fog, Keys & Resources: Short-circuits GL state churn on 10 HUD overlays, clears static provider leaks on all 15 ViewportEvent fog procedures & sky setup, guards all 12 keybindings against main-menu NPEs and movement-key packet storms, fixes Forgetful Fog client string-concatenation OOM, streams 5 oversized music tracks, overrides 4 unreferenced malformed custom models, and localizes hardcoded English JEI/GUI/item tooltips alongside filling 162 blank zh_cn.json translations.

Source Code: https://github.com/hp3081925122/the-deep-void-bug-fixes


The Deep Void Bug Fixes(深渊虚空漏洞修复) 是面向 The Deep Void(深渊虚空 1.99.5) 的专项漏洞修复、兼容性加固与性能优化补丁模组。

全部修复均基于对原模组全部 3,118 个类、2,695 份数据包文件与 5,169 份客户端资源的 100% 深度审计及多平台社区问题核实,在完整保留原模组玩法与视觉表现的前提下修复关键缺陷,并可通过 thedeepvoidbugfix-common.toml 与 thedeepvoidbugfix-client.toml 按模块独立开关。

核心修复与优化内容

核心稳定性、线程安全与专用服务端修复

  • 延迟队列加固:对 workQueue 传入 tick <= 0 的任务做下限钳位(消除墓碑等连击导致的永久队列泄漏),改为 \(O(N)\) 迭代、单任务异常隔离,并在停服/切档时自动清空。
  • 启动并发安全:将 ComposterBlock.COMPOSTABLES、GameRules.register 与 ItemBlockRenderTypes.setRenderLayer 的并发裸写安全入队/加锁,消除多模组同装随机启动崩溃;屏蔽旧 net.mcreator 包残留的重复维度注册。
  • 物理专服崩服防护:隔离 57 个物品 Tooltip、ItemTooltipEvent、ItemAnimationFactory 与 checkGamemode 对 Screen / Minecraft.getInstance() 的客户端直引。
  • 网络变量、进度与假玩家兼容:修复 PlayerVariables 空 NBT 强转、客户端进服竞态 NPE、clonePlayer 误调 revive()、假玩家空 Channel 发包 NPE、PlayerAdvancements#getOrStartProgress(null) 空指针,以及多维度 HunterCooldown、SoulWings 与 DeadInside 发包风暴。
  • 跨维度传送修复:替换全部 7 个活跃切维过程中的错误 WIN_GAME 发包,彻底消除跨维触发终末之诗与状态错位。

刷物漏洞、容器与网络包安全

  • 防刷物与越权拦截:为全部 12 个按键包与 4 个 GUI 包补齐服务端方向、存活/非旁观、当前打开容器类型与交互距离校验;堵死入殓师跨容器复制任意物品、灵魂熔炉/入殓师 onTake 客户端包时序 0 成本无限刷物、远程白嫖随身工作台、MountFly 复制/抢夺坐骑、古罐与拟态之心盔甲架刷物、饕餮方块/拟态怪污染 ItemStack.EMPTY 全局单例及铋经验瓶刷经验漏洞。
  • 坏死皮背包加固:修复铁砧重命名/附魔后 readShareTag 空指针崩溃、修复 ItemTossEvent 错标客户端与跨线程操作 UI、补齐底层潜影盒/容器防嵌套拦截与严格 stillValid 校验。

方块、地图可见性、模块化工具与世界生成

  • 地图色补全:为原模组全部 299 个缺失 MapColor 的可见方块补齐语义地图色,恢复原版地图与小地图显示。
  • 原版标准挖掘兼容:移除 6 个方块 canHarvestBlock 硬编码 instanceof PickaxeItem/AxeItem 判定并补齐 mineable/*、needs_*_tool 标签,原生兼容各类模块化/第三方工具;救活全部 3 个因 mineBlock 读空气而失效的工具(铋下界合金镐/锄额外经验、掘墓人铲子连锁挖掘)。
  • 方块与方块实体加固:补齐栏杆/刷怪笼 noOcclusion()、按钮/压力板/蓝火无碰撞、红门透光,收敛计划刻与 sendBlockUpdated 风暴;加固全部 14 个方块实体(阻断漏斗向深板岩石棺等装饰伪容器吞物)。
  • 世界生成与结构安全:修复 StructureFeature 四重模板缺陷(含 3×3 WorldGenRegion 裁剪),清洗 13 个活跃结构 NBT,收敛 6 个超半径 delta_feature 配置,消除远区块 setBlock 报错。

生物实体、战斗、Boss 与药水效果

  • 实体追踪、分类与刷怪池:收敛全部 190 个实体追踪半径(如修复使徒 8000 区块追踪与 14 个 1 区块隐身技能实体),修正 57 处非敌对/NPC/坐骑/特效误标 MobCategory.MONSTER 的分类错误,修复野生可驯服怪永久占用刷怪池。
  • 54 种弹射物与 AI 优化:双端修复静态 PROJECTILE_ITEM 单例篡改、新增可配置最大存活刻数上限、消除 108 个恒定体型 GeoEntity 每 tick refreshDimensions() 刷屏、放行 4 种实体对 /kill 与虚空的免疫,并修复 BlackFly/Swarmer 寻路 NPE 与 RangedAttackGoal 寻路尖峰。
  • Boss、药水与战斗逻辑:修复灵魂织者球 8×8×8 碎裂卡服、原始骨爬虫 0 伤与空中软锁、潜行者服务端崩溃、虚空斗篷永久旁观/创造提权、秃鹫套死循环、反伤递归爆栈、圣血大剑错 UUID 永久白嫖攻击力、骑士鱼 -99 负饥饿值下溢、7 把近战武器错扣目标耐久、8 个药水续期/喝牛奶提前引爆、药水 tick 直接 removeEffect 引发 CME 中断其余药水结算、双倍位移传送及循环动态随机上限失真。
  • 数据包与战利品完善:为 48 张实体战利品表补齐 looting_enchant,修复 5 份 Better Combat 武器配置,为自定义 JEI 配方覆写 isSpecial() = true 消除进服刷屏。

客户端渲染、资源与本地化

  • GeckoLib 与模型缓存:全面优化 3 个动画工厂(消除每 tick 4 次无条件 ItemStack.copy() 与清空第三方模组 Geo 盔甲动画);将 112 个不透明 Geo 渲染器由 entityTranslucent 切回 entityCutoutNoCull(保留真实半透明生物);修复 7 个 GeoModel 小写 "head" 骨骼导致头部不转向;为 3D 盔甲与 12 个实体渲染层(14 处)缓存 bakeLayer。
  • HUD、雾效、按键与覆盖资源包:短路 10 个 HUD 覆盖层空闲 GL 状态切换、修复 15 个雾效与天空事件静态 provider 内存泄漏、为 12 个按键补齐主菜单判空与移动键发包门控、修复遗忘之雾客户端拼接 OOM;通过高优先级内置资源包流式化 5 首超大背景音乐、修复 4 处未引用畸形自定义模型报错、本地化硬编码英文提示并补齐 162 条空白中文译文。

源码仓库:https://github.com/hp3081925122/the-deep-void-bug-fixes

The Deep Void Bug Fixes Team

profile avatar
Owner
High Crafter tier icon
  • 23
    Followers
  • 115
    Projects
  • 1.1M
    Downloads

More from hp12138View all