高级 UI 缩放
适用于 Minecraft Fabric 的连续 GUI 缩放功能,基于 Qendolin/BetterUIScale。
安装说明
此模组需要与 .jar 文件所标注的游戏版本完全一致。你还需要安装 Fabric Loader 以及 Fabric API 模组。请注意,该模组仅适用于客户端,在服务器上无法运行。
控制方式
- 视频设置: 拖动“GUI 缩放”滑块可实现连续、即时的缩放效果。
- GUI 缩放:自动: 旁边的按钮可启用自动缩放功能。它会根据帧缓冲区尺寸进行调整(包括小数最大值),同时保持最小 GUI 尺寸为 320 × 240(除非物理窗口本身更小)。
- 微调: 使用方向键或鼠标滚轮每次调整 1% 的比例。按住 Shift 键可每次调整 0.1%。在视频设置界面中,Control + 滚轮同样有效。右键点击滑块可恢复为自动模式。
- Mod Menu → Advanced UI Scaling: 输入精确百分比,点击“应用”或按 Enter 键,并可从 0–200% 范围内调节字体平滑度。
- 原版设置中,更改会在释放操作、键盘/滚动调整、离开设置界面及关闭游戏时保存。调整窗口大小会临时限制已应用的缩放比例,但不会丢失偏好值。
原版实时拖动使用的是鼠标按下时捕获的物理轨道范围。这能确保在屏幕周围区域发生变化时输入保持稳定;移动或调整滑块大小不会导致其数值反馈变化。
Sodium 支持
原生 常规 → GUI 缩放 行包含固定列,用于始终可见的连续滑块、整数百分比以及 自动 选项。选中“自动”时,文本颜色变浅并带有下划线。
拖动、方向键、Ctrl + 滚轮、重置和自动功能仅更改待处理的设置。界面将保持当前缩放状态,直到点击 Sodium 中的“应用”按钮。“应用”会调整界面大小并保存所选的确切值。“撤销”和 Escape 键可在不调整任何大小的情况下丢弃更改。已应用的自动设置会随后续窗口大小变化而继续生效。
当点击“应用”或窗口大小重建菜单时,搜索、滚动位置和焦点将被保留。Sodium 是可选组件,并未打包进本模组。原版设置仍保留其实时缩放行为。
许可证
CC0-1.0,延续原项目的许可协议。
Advanced UI Scaling
Continuous GUI scaling for Minecraft Fabric, based on Qendolin/BetterUIScale.
Installation
This mod runs requires the exact version of the game the .jar says. You also need to install the Fabric Loader and you need the
Fabric API mod. Please note that the mod is client-side only, it will not work on servers.
Controls
- Video Settings: drag the GUI Scale slider for continuous, immediate scaling.
- GUI Scale: Auto: the adjacent button enables automatic scaling. It follows framebuffer dimensions, including fractional maxima, while preserving a minimum GUI size of 320 × 240 (unless the physical window itself is smaller).
- Fine adjustment: arrow keys or mouse wheel change the factor by 1 percentage point. Hold Shift for 0.1 percentage points. Control + wheel also works anywhere in Video Settings. Right-click the slider to restore Auto.
- Mod Menu → Advanced UI Scaling: enter an exact percentage, press Apply or Enter, and adjust font smoothing from 0–200%.
- In the vanilla settings, changes are saved on release, keyboard/scroll adjustment, leaving settings and shutdown. Resizing a window temporarily clamps the applied factor without losing the preferred value.
Vanilla live dragging uses the physical track bounds captured at mouse-down. This keeps input stable while the surrounding screen changes size; moving or resizing the slider cannot feed back into its value.
Sodium
The native General → GUI Scale row has fixed columns for the always-visible continuous slider, a whole-number percentage and Auto. Auto uses light text and a subtle underline when selected.
Dragging, arrow keys, Ctrl + wheel, reset and Auto only change the pending setting. The interface stays at its current scale until Sodium's Apply is clicked. Apply resizes the interface and saves the exact selected value. Undo and Escape discard changes without resizing anything. An applied Auto setting follows later window size changes.
Search, scroll position and focus are preserved when Apply or a window resize rebuilds the menu. Sodium is optional and is not bundled into this mod. The vanilla settings keep their live scaling behavior.
License
CC0-1.0, continuing the original project's license.
评论 0
登录后参与评分
还没有评论,来抢沙发吧