promotional bannermobile promotional banner

Auto Window Size

Minecraft 1.20.1 / Forge client mod. Auto window sizing + centering, min-size lock, fixed size, 60 presets + custom input, borderless, always-on-top, keybinds, auto-fullscreen — keeps modpack UI consistent.
Back to Files

autowindowsize-1.0.7.jar

File nameautowindowsize-1.0.7.jar
Uploader
JujuMLQwQJujuMLQwQ
Uploaded
Sep 18, 2026
Downloads
13
Size
294.1 KB
Mod Loaders
Forge
File ID
8909345
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:auto-window-size-1687676:8909345")

Learn more about Curse Maven

What's new

What's New

  • Auto fullscreen / auto-maximize on launch: two mutually exclusive toggles in the Window Settings screen. Enable one and the other greys out; the choice applies to the NEXT launch and does not change the current window.
  • One-time onboarding for modpack authors: set applyStartupGuide=true in the config and pick startFullscreen / startMaximized. The player's first launch follows it once, syncs the in-game preference, then the flag clears itself. If the player already has a startup preference, the guide yields and resets all one-time flags automatically.
  • Clean window state after auto-start: exiting auto-fullscreen (F11) returns to the configured size and centers; restoring after auto-maximize does the same. Manual F11 mid-game still restores the pre-fullscreen position.
  • Bug-proofing: if autoFullscreen and autoMaximized end up both true (e.g. edited by hand), both reset to false on launch instead of staying mutually blocked.

Changes & Fixes

  • Reworked the Window Settings layout: uniform button column, resolution info follows the buttons, Done button pinned to the bottom — no more overlapping.
  • Buttons now read "feature: ON/OFF" with a hover tooltip explaining each one.
  • Rewrote the config comments into a clean bilingual (English / Chinese) layout with blank lines between options.
  • Corrected the KLBBS download link.
  • Docs: README trimmed to a one-screen intro, detailed content moved to a Wiki.

Notes

  • Delete the old config/autowindowsize-client.toml after upgrading, otherwise the new comments and options won't be generated.
  • Client-side only, Minecraft 1.20.1 / Forge 47.x.

本次更新

  • 启动自动全屏 / 自动最大化:窗口设置界面新增两个互斥开关,开启其中一个另一个自动灰掉。选择只影响下一次启动,不改变当前窗口。
  • 整合包一次性首次引导:在配置里把 applyStartupGuide 设为 true,并选择 startFullscreen / startMaximized。玩家首次启动按引导执行一次,自动同步游戏内偏好,随后引导开关自动归零。若玩家已有自己的启动偏好,引导会自动让位并清空所有一次性开关。
  • 自动启动后窗口状态正确:自动全屏启动后按 F11 退出,窗口回到配置分辨率并居中;自动最大化启动后点还原同样如此。游戏中手动 F11 进出仍恢复原来的位置。
  • 冲突自动兜底:若 autoFullscreen 和 autoMaximized 被手动改成同时 true,启动时会自动把两者归零,局内按钮不再互相禁用。

调整与修复

  • 重排窗口设置界面:按钮列统一间距、分辨率信息自动跟随按钮列、"完成"按钮钉在底部,修复之前按钮与文字重叠的问题。
  • 按钮文案精简为"功能:开/关",并新增鼠标悬停说明。
  • 配置注释重写为上英文下中文的双语排版,选项之间留白分隔。
  • 更正苦力怕论坛发布链接。
  • 文档结构调整:README 精简为一屏简介,详细内容迁移到 Wiki。

注意

  • 升级后请手动删除旧的 config/autowindowsize-client.toml,否则新注释和新增项不会自动生成。
  • 纯客户端模组,Minecraft 1.20.1 / Forge 47.x。

This mod has no additional files