1.20.1-Forge-The Man From The Fog Bug Fixes-1.0.0
Curse Maven Snippet
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 nullacross 43 unsafeOptional.orElse(null)sites (JumpscareDisplayOverlayIngameProcedure,LookProcedure,TimerglobalProcedure, etc.). - Removed client-only
Minecraft.getInstance()checkGamemodecalls 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 @pcommands with targetedClientboundStopSoundPacketcalls and isolatingJumpscareingameOverlayGL state mutations strictly to active jumpscare frames. - Hardened
ManMod.workQueue(tick <= 0clamp, strict server thread guard,O(N)removal, per-task exception isolation, server-stop cleanup), wrapped 3 network packet registrations inenqueueWork, and fixed all 6ManModVariablesissues (eliminating per-ticksyncDatabroadcast storms,FakePlayerNPEs,clonePlayerrevive(), andSavedDataSyncMessagecodec mismatch).
- Fixed
- 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 honoringBLOCK_HARDNESS = -1.0), stopped hardcodedLevel.OVERWORLDcross-dimension destruction, fixed 2-block-check / 3-block-break & air-bypass bugs, enforcedmobGriefing, respectedBREAK_BLOCKSin Search mode, protectedContainerblock entities (expandedman:containertag), and eliminated 45 redundant raycasts per pass. - Byte-patched
data/man/structures/house.nbtso the Cultist villager sellsman:cassette_recorder_blockinstead of the deletedman:cassetteplayer(air), plus automatic runtime migration for existing saves. - Hardened
CassetteRecorderBlock,CassetteRecorderBlockEntity,CassetteRecorderGuiMenu, and packet handlers (server-sidestillValid& coordinate validation,MapColor.COLOR_GRAY,#minecraft:mineable/pickaxe, 2-slot cassette capability cache withinvalidateCaps(), server-authoritative audio playback, fixed inverted stop-audio logic).
- Fixed all 8 aggressive block-breaking defects: protected unbreakable blocks (
- Spawning, Entities, Combat & Enchantments:
- Fixed
TimerglobalProcedurerunning N× faster in multiplayer and broadcasting every tick; enforceddoMobSpawning, Peaceful difficulty, and Overworld-only spawning; fixedmftfhang(MobCategory.MONSTER,#minecraft:is_overworld, swapped(getZ(), getX())chunk checks, Nether infinite levitation,WorldGenRegionday-spawn bypass). - Fixed
ManaggresiveEntitydynamic hitbox (standing0.6x2.8/ crawling0.5x0.9, configurable), clamped excessive200/64-chunk tracking ranges & follow range (configurable, default64), deduplicatedLookAtPlayerGoal, fixed 4GeoEntitytickDeathdouble-XP & per-tickrefreshDimensions(), migratedtearofthemandrop to JSON loot table, and fixed initial-spawn double lightning / triple audio / reload deadline reset. - Replaced
EntchantmentTickProcedurepermanent per-ticksetBaseValue(0.135/0.1)movement-speed corruption with a server-side transientAttributeModifier; guardedFogProtectionEnchantment& Tear of the Man revival againstBYPASSES_INVULNERABILITY(/kill& void); reordered Tear of the Man revival before jumpscare, fixed stack consumption / multi-book duplication, fixed ranged-killman:killadvancement, prevented through-wall stalking triggers inLookProcedure, replaced 16 Brigadier command dispatches with native Java APIs, and guarded all 4 advancement lookups.
- Fixed
- Client Rendering, Audio Streaming & Localization:
- Fixed
EntityAnimationFactorysame-tick animation swallowing, switched all 4 opaqueGeoEntityRendererclasses toentityCutoutNoCull, cachedGeoModelresource paths & guardedENTITY_MODEL_DATANPEs, fixed 4 glowing layers when invisible, decoupled jumpscare duration from FPS viaMftfJumpscareSyncPacket, streamed 4 oversized.oggtracks (up to 120s / 825 KB) with"replace": true, and localized all hardcoded texts with complete 69-keyen_us/zh_cntranslations and a Tear of the Man usage tooltip.
- Fixed
版本 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,全数修复ManModVariables6 项缺陷(消除每 ticksyncData广播风暴、FakePlayerNPE、clonePlayer误调revive()及编解码不对称)。
- 彻底根除 43 处
- 拆方块防毁档、结构交易与磁带机修复:
- 根治攻击态雾中人拆方块 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邪教徒村民交易(将已删 IDman:cassetteplayer修正为man:cassette_recorder_block消除空气交易),并附带旧存档加载时自动迁移修复。 - 全面加固磁带机方块、方块实体、菜单与网络包(服务端校验
stillValid与坐标、补齐MapColor.COLOR_GRAY与#minecraft:mineable/pickaxe、收敛至缓存 2 槽磁带能力并覆写invalidateCaps()、播音迁回服务端权威、修复放入磁带即停音的反向逻辑)。
- 根治攻击态雾中人拆方块 8 重灾难:保护不可破坏方块(
- 刷怪机制、实体 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 个GeoEntitytickDeath双倍经验与每 tickrefreshDimensions(),将雾中人之泪掉落迁入标准 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 仪式用法提示。
- 修复
This mod has no additional files