Instant Borderless
添加一种无边框全屏模式,该模式会填满你的显示器,且不显示标题栏或窗口边框,从而实现瞬间切换窗口。
功能说明
开启此模式会同时执行两项操作:游戏窗口移除其标题栏和系统边框,并被移动和调整大小以精确覆盖整个显示器。
它故意不做的是接管显示器控制权。窗口始终保持为一个普通窗口——游戏永远不会切换到独占全屏模式。这正是其核心目的:
- 切换到其他窗口是瞬间完成的,无需更改显示模式,也不会出现黑屏闪烁;
- 当你离开游戏时,它仍能正常渲染;
- 在多显示器设置中,它会填充窗口所在的显示器,或者配置文件中所指定的显示器。
默认情况下,F11 用于切换无边框模式,而非原版独占全屏。独占全屏仍然可以通过“视频设置”一键进入;如果你选择退出无边框模式,窗口会直接恢复为无边框状态,而不是重新获得边框。
使用方法
该模式默认关闭——在你开启之前,游戏保持普通的窗口状态。
- 视频设置 → 无边框窗口 (Borderless Window),位于 全屏分辨率 下方。
- F11,由游戏自身处理按键绑定,因此与自定义按键不同,它在菜单和主标题界面也能生效——当无装饰的窗口让你无法拖拽时非常有用。将
overrideFullscreenKey 设置为 false 可将 F11 交还给原版功能。
关闭该模式后,窗口将恢复到开启前的确切大小和位置。
Sodium
Sodium 用其自己的界面替换了原版的视频设置屏幕,因此原版的那一行设置在那里不可见。对于 Sodium 0.8 或更高版本,相同的开关通过其官方配置 API 注册到了 Sodium 的设置界面中,并显示在 Instant Borderless 部分下。
在较旧的 Sodium 0.6.x 版本中,完全没有配置 API,因此只能通过按键绑定和配置文件来访问该模式。其他功能完全相同。
配置
config/borderlesswindows.json,首次启动时创建:
| Key |
Default |
Meaning |
enabled |
false |
是否启用无边框模式 |
enforceEveryTick |
true |
每个 tick 重新断言一次窗口状态,以防止窗口管理器在显示器或 DPI 更改后将边框归还给窗口 |
overrideFullscreenKey |
true |
F11 切换无边框模式而非原版独占全屏;设置为 false 将该键交还给原版 |
monitor |
-1 |
要填充的显示器:-1 选择窗口所在的显示器,0, 1, … 则明确选择特定显示器 |
要求
Minecraft 1.21.1,仅限客户端——模组在服务器上无效,也无需安装在服务器上。
| Loader |
Required alongside |
| Fabric |
Architectury API, Fabric Language Kotlin |
| NeoForge |
Architectury API |
Kotlin 运行时已打包进 NeoForge 构建版,因此不需要安装 Kotlin For Forge。
翻译支持
英语、俄语、德语、西班牙语、法语、意大利语、波兰语、葡萄牙语(巴西)、土耳其语、日语、韩语、简体中文、繁体中文。
Instant Borderless
Adds a borderless fullscreen mode that fills your monitor without a title bar or window frame, so alt-tabbing stays
instant.
What it does
Turning the mode on does two things at once: the game window drops its title bar and system frame, and it is moved and
resized to cover its monitor exactly.
What it deliberately does not do is take the monitor over. The window stays an ordinary window — the game never
switches the display into an exclusive fullscreen mode. That is the whole point:
- switching to another window is instant, with no mode change and no black flicker;
- the game keeps rendering normally while you are away from it;
- on a multi-monitor setup it fills the monitor the window is on, or one you name in the config.
By default F11 switches borderless mode rather than the vanilla exclusive fullscreen. Exclusive fullscreen is still
one click away in Video Settings, and if you leave it the window goes straight back to borderless instead of getting its
frame back.
How to use it
The mode is off by default — the game keeps its ordinary window until you turn it on.
- Video Settings → Borderless Window, right under Fullscreen Resolution.
- F11, which the game handles itself, so unlike a key mapping it also works in menus and on the title screen —
useful when an undecorated window leaves you nothing to drag. Set
overrideFullscreenKey to false to hand F11 back
to vanilla.
Turning the mode off restores the exact window size and position it had before.
Sodium
Sodium replaces the vanilla Video Settings screen with its own, so the vanilla row is not reachable there. With Sodium
0.8 or newer the same toggle is registered into Sodium's settings screen through its official config API and appears
under an Instant Borderless section.
On the older Sodium 0.6.x line there is no config API at all, so the mode is reachable only through the keybind and the
config file. Everything else works the same.
Configuration
config/borderlesswindows.json, created on first launch:
| Key |
Default |
Meaning |
enabled |
false |
whether borderless mode is on |
enforceEveryTick |
true |
re-asserts the window state once per tick, which guards against window managers that hand the frame back after monitor or DPI changes |
overrideFullscreenKey |
true |
F11 toggles borderless mode instead of the vanilla exclusive fullscreen; set to false to give the key back to vanilla |
monitor |
-1 |
which monitor to fill: -1 picks the one the window is on, 0, 1, … select one explicitly |
Requirements
Minecraft 1.21.1, client side only — the mod does nothing on a server and does not need to be installed there.
| Loader |
Required alongside |
| Fabric |
Architectury API, Fabric Language Kotlin |
| NeoForge |
Architectury API |
The Kotlin runtime is bundled into the NeoForge build, so Kotlin For Forge is not needed.
Translations
English, Russian, German, Spanish, French, Italian, Polish, Portuguese (Brazil), Turkish, Japanese, Korean, Chinese
(Simplified), Chinese (Traditional).
评论 0
登录后参与评分
还没有评论,来抢沙发吧