The Man From The Fog Bug Fixes

Non-invasive bug fixes, crash/griefing/spawning repairs, Sanity mod compatibility, TPS & GeckoLib rendering optimizations for The Man From The Fog.
Back to Files

1.20.1-Forge-The Man From The Fog Bug Fixes-1.0.0

File namethemanfromthefogbugfix-1.20.1-forge-1.0.0.jar
Uploader
hp12138hp12138
Uploaded
Nov 29, 2026
Downloads
52
Size
212.8 KB
Mod Loaders
Forge
File ID
9882927
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:the-man-from-the-fog-bug-fixes-1838934:9882927")

Learn more about Curse Maven

What's new

1.0.0

Initial release of The Man From The Fog Bug Fixes for The Man From The Fog (1.4, 1.20.1 Forge) — shipping 60 Mixins (46 common + 14 client), 5 datapack fixes, and a top-priority built-in client resource override pack (4 streamed long audio tracks with "replace": true + 69 symmetric en_us / zh_cn keys), all configurable via themanfromthefogbugfix-common.toml and themanfromthefogbugfix-client.toml.

  • Crash Guards, Dedicated Server & Mod Compatibility:
    • Fixed NullPointerException: Entity.m_9236_() because Optional.orElse is null across 43 unsafe Optional.orElse(null) sites (JumpscareDisplayOverlayIngameProcedure, LookProcedure, TimerglobalProcedure, etc.).
    • Removed client-only Minecraft.getInstance() checkGamemode calls across 4 procedure classes (7 sites) for physical dedicated servers.
    • Fixed Sanity: Descent Into Madness audio & death-screen HUD disappearance (#73) by replacing 4 blanket stopsound @p commands with targeted ClientboundStopSoundPacket calls and isolating JumpscareingameOverlay GL state mutations strictly to active jumpscare frames.
    • Hardened ManMod.workQueue (tick <= 0 clamp, strict server thread guard, O(N) removal, per-task exception isolation, server-stop cleanup), wrapped 3 network packet registrations in enqueueWork, and fixed all 6 ManModVariables issues (eliminating per-tick syncData broadcast storms, FakePlayer NPEs, clonePlayer revive(), and SavedDataSyncMessage codec mismatch).
  • Block Breaking, Griefing, Structures & Trade Repairs:
    • Fixed all 8 aggressive block-breaking defects: protected unbreakable blocks (destroySpeed < 0.0F, preventing Bedrock breaking into the void and honoring BLOCK_HARDNESS = -1.0), stopped hardcoded Level.OVERWORLD cross-dimension destruction, fixed 2-block-check / 3-block-break & air-bypass bugs, enforced mobGriefing, respected BREAK_BLOCKS in Search mode, protected Container block entities (expanded man:container tag), and eliminated 45 redundant raycasts per pass.
    • Byte-patched data/man/structures/house.nbt so the Cultist villager sells man:cassette_recorder_block instead of the deleted man:cassetteplayer (air), plus automatic runtime migration for existing saves.
    • Hardened CassetteRecorderBlock, CassetteRecorderBlockEntity, CassetteRecorderGuiMenu, and packet handlers (server-side stillValid & coordinate validation, MapColor.COLOR_GRAY, #minecraft:mineable/pickaxe, 2-slot cassette capability cache with invalidateCaps(), server-authoritative audio playback, fixed inverted stop-audio logic).
  • Spawning, Entities, Combat & Enchantments:
    • Fixed TimerglobalProcedure running N× faster in multiplayer and broadcasting every tick; enforced doMobSpawning, Peaceful difficulty, and Overworld-only spawning; fixed mftfhang (MobCategory.MONSTER, #minecraft:is_overworld, swapped (getZ(), getX()) chunk checks, Nether infinite levitation, WorldGenRegion day-spawn bypass).
    • Fixed ManaggresiveEntity dynamic hitbox (standing 0.6x2.8 / crawling 0.5x0.9, configurable), clamped excessive 200/64-chunk tracking ranges & follow range (configurable, default 64), deduplicated LookAtPlayerGoal, fixed 4 GeoEntity tickDeath double-XP & per-tick refreshDimensions(), migrated tearoftheman drop to JSON loot table, and fixed initial-spawn double lightning / triple audio / reload deadline reset.
    • Replaced EntchantmentTickProcedure permanent per-tick setBaseValue(0.135/0.1) movement-speed corruption with a server-side transient AttributeModifier; guarded FogProtectionEnchantment & Tear of the Man revival against BYPASSES_INVULNERABILITY (/kill & void); reordered Tear of the Man revival before jumpscare, fixed stack consumption / multi-book duplication, fixed ranged-kill man:kill advancement, prevented through-wall stalking triggers in LookProcedure, replaced 16 Brigadier command dispatches with native Java APIs, and guarded all 4 advancement lookups.
  • Client Rendering, Audio Streaming & Localization:
    • Fixed EntityAnimationFactory same-tick animation swallowing, switched all 4 opaque GeoEntityRenderer classes to entityCutoutNoCull, cached GeoModel resource paths & guarded ENTITY_MODEL_DATA NPEs, fixed 4 glowing layers when invisible, decoupled jumpscare duration from FPS via MftfJumpscareSyncPacket, streamed 4 oversized .ogg tracks (up to 120s / 825 KB) with "replace": true, and localized all hardcoded texts with complete 69-key en_us / zh_cn translations and a Tear of the Man usage tooltip.

版本 1.0.0

The Man From The Fog Bug Fixes(雾中人漏洞修复) 首个正式版本,针对 The Man From The Fog(1.4,1.20.1 Forge) 包含 60 个 Mixin(通用 46 + 客户端 14)、5 份数据包修复 与 顶层内置客户端覆盖资源包(4 首超长音轨流式化含 "replace": true + 69 键 100% 对等中英文),全部核心模块均可通过 themanfromthefogbugfix-common.toml 与 themanfromthefogbugfix-client.toml 独立开关。

  • 防崩保护、专用服务端与模组兼容:
    • 彻底根除 43 处 Optional.orElse(null) 引发的 NullPointerException: Entity.m_9236_() because Optional.orElse is null(覆盖 JumpscareDisplayOverlayIngameProcedure、LookProcedure、TimerglobalProcedure 等)。
    • 移除 4 个过程类共 7 处客户端独占 Minecraft.getInstance()(checkGamemode)调用,全面兼容物理专用服务端。
    • 根治与 Sanity: Descent Into Madness 同装时追逐结束音效与死亡界面文字永久消失的冲突(#73):将 4 处无过滤 stopsound @p 替换为精准 ClientboundStopSoundPacket 定向停音,并将 JumpscareingameOverlay 的 GL 状态改动严格隔离在跳杀激活帧内。
    • 加固 ManMod.workQueue(tick <= 0 钳位、严格服务端线程门控、O(N) 移除、异常隔离、停服清理),为 3 处网络包注册补齐 enqueueWork,全数修复 ManModVariables 6 项缺陷(消除每 tick syncData 广播风暴、FakePlayer NPE、clonePlayer 误调 revive() 及编解码不对称)。
  • 拆方块防毁档、结构交易与磁带机修复:
    • 根治攻击态雾中人拆方块 8 重灾难:保护不可破坏方块(destroySpeed < 0.0F,彻底禁止挖穿基岩到虚空并使 BLOCK_HARDNESS = -1.0 正确生效)、修复跨维度硬编码炸主世界(Level.OVERWORLD)、修复判 2 拆 3 与空气绕穿、遵守 mobGriefing、Search 模式遵守 BREAK_BLOCKS、保护带 Container 方块实体(并扩充 man:container 标签)、消除单次 45 遍重复射线检测。
    • 字节级无损修补 data/man/structures/house.nbt 邪教徒村民交易(将已删 ID man:cassetteplayer 修正为 man:cassette_recorder_block 消除空气交易),并附带旧存档加载时自动迁移修复。
    • 全面加固磁带机方块、方块实体、菜单与网络包(服务端校验 stillValid 与坐标、补齐 MapColor.COLOR_GRAY 与 #minecraft:mineable/pickaxe、收敛至缓存 2 槽磁带能力并覆写 invalidateCaps()、播音迁回服务端权威、修复放入磁带即停音的反向逻辑)。
  • 刷怪机制、实体 AI、战斗与附魔修复:
    • 修复 TimerglobalProcedure 多人服 N 倍速与每 tick 广播风暴;刷怪补齐 doMobSpawning、和平难度与主世界维度校验;修复 mftfhang(修正为 MobCategory.MONSTER 与 #minecraft:is_overworld、修复写反的 (getZ(), getX()) 远区块查询、根治下界无限漂浮与 WorldGenRegion 绕过白天开关)。
    • 为攻击态雾中人实现动态碰撞箱(站立 0.6×2.8 / 爬行 0.5×0.9,可配置),收敛 4 实体 200/64 区块异常追踪半径与寻路半径(默认 64 可配置),去重 LookAtPlayerGoal,修复 4 个 GeoEntity tickDeath 双倍经验与每 tick refreshDimensions(),将雾中人之泪掉落迁入标准 JSON 战利品表,修复初次刷怪双雷三音及重载重置追逐倒计时。
    • 将 EntchantmentTickProcedure 每 tick 永久覆写玩家基础移速(setBaseValue(0.135/0.1))改为服务端瞬态 AttributeModifier;为 FogProtectionEnchantment 与眼泪免死补齐 BYPASSES_INVULNERABILITY(放行 /kill 与虚空);将眼泪免死重排至跳杀之前并修复刷多本附魔书/整组吞泪、远程击杀不给 man:kill 成就与 LookProcedure 隔墙 300 格触发;以原生 Java API 替换 16 处 Brigadier 命令刷屏并加固全部 4 处进度判空。
  • 客户端渲染、音频流式化与双语本地化:
    • 修复 EntityAnimationFactory 同 tick 吞动画,4 个不透明 GeoEntityRenderer 切回 entityCutoutNoCull,缓存 GeoModel 路径并补齐 ENTITY_MODEL_DATA 判空,修复 4 个发光层隐身穿透,经由 MftfJumpscareSyncPacket 将跳杀时长与帧率解耦,将 4 首超大 .ogg 音轨(最高 120 秒 / 825 KB)以 "replace": true 流式化加载,并本地化全部硬编码文本、提供 69 键 100% 对等中英文翻译及雾中人之泪 1.4 仪式用法提示。