跳到正文

WindowFix

作者:huanmeng-qwq

Used to fix the issue of main loop hang/freeze that may occur in Minecraft under Windows after operating the system menu of the window title bar (right-clicking the title bar, minimizing, restoring, etc.).

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

WindowFix

WindowFix addresses a Windows-specific Minecraft issue where interacting with the title-bar system menu (right-click title bar, minimize, restore, etc.) may cause the game loop to hang or stutter.

Environment

  • Windows client

Configuration

Config file is generated after first launch:

config/windowfix-client.toml

Example:

blockTitleBarSystemMenu = false

Restart the game after changing config values.

  • blockTitleBarSystemMenu
  • true: Block the title-bar system menu for maximum stability.
  • false: Keep the system menu and enable native MNS_MODELESS compatibility handling.

Usage

  1. Put the built JAR into your client mods directory.
  2. Launch the game and adjust config/windowfix-client.toml as needed.

Log Keywords

Search these in latest.log:

  • Installed Win32 window hook for system menu freeze workaround.
  • Enabled MNS_MODELESS on system menu.

Known Limitations

  • Windows-only behavior.
  • In native compatibility mode, brief hitching may still happen depending on system window management behavior.

常见问题

WindowFix 支持哪些 Minecraft 版本?

WindowFix 支持 Minecraft Java 版 1.20–26.3,共 24 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

WindowFix 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

huanmeng-qwq 的其他作品

查看全部 →