
Modern UI by Icyllis Milica
描述:
Modern UI(由 Icyllis Milica 开发)是一个桌面应用程序框架,专为独立的 2D 和 3D 渲染软件开发而设计。它利用现代 3D 图形 API 和技术,提供高性能的实时渲染。此外,Modern UI 还改进并优化了一套用于 Google Android 的功能及其自有的国际化支持文本引擎。
Minecraft 版的 Modern UI 是一个基于 Modern UI Core Framework 和 Modern UI Core Extensions 的 Minecraft 模组。它在 Minecraft 环境中提供了 Modern UI 引导程序以及基于 Forge/Fabric 的 Modding API,以便在 Minecraft 中构建强大的图形用户界面。
对于客户端,默认情况下按 Ctrl+K 或 ⌘+K 可打开“操作中心”屏幕以配置 Modern UI。(请注意,您可以滑动“偏好设置”屏幕来配置字体)
此模组还包含一个专为 Minecraft 设计的强大文本布局引擎和文本渲染系统。
该引擎提供了处理 Unicode 文本的适当方法,并在任何缩放比例下的 2D/3D 环境中为您提供更具可读性的文本。具体包括:
- 实时预览和重载 TrueType/OpenType 字体
- 更好的字体回退实现
- 文本抗锯齿和 FreeType 字体微调
- 在 2D/3D 中使用改进的 SDF 文本渲染(也使用批渲染)
- 计算设备空间中的精确字体大小以进行原生字形渲染
- 使用 Google Noto Color Emoji 并支持所有 Unicode 15.1 Emoji(2023 年 9 月 12 日)
- 可配置的双向文本启发式算法
- 可配置的文本阴影和原始字体大小
- Unicode 换行及 CSS line-break & word-break
- 快速、精确且异步的 Unicode 文本布局计算
- 用于字形的更快且更节省内存的矩形打包算法
- 使用真实的灰度纹理(每像素 1 字节,而 Minecraft 为 4 bpp)
- 兼容 OptiFine、Sodium (Rubidium)、Iris (Oculus) 等众多模组
- 兼容 Minecraft 的 JSON 字体定义(位图字体、TTF 字体)
此外,此模组提供了许多提升游戏性能和游戏体验的工具。目前我们有:
- 更改屏幕背景颜色
- 对屏幕背景图像应用高斯模糊
- 屏幕背景的淡入动画
- 更多窗口模式:全屏(无边框)、最大化(无边框)
- 当窗口处于非活动状态(失去焦点)和最小化时,限制帧率并降低主音量
- 打开物品栏时暂停单人游戏
- 将 GUI 缩放选项更改为滑块并提供提示文本
- 当 Minecraft 加载并到达主菜单时播放“叮”声
- 启用原版的选择列表和 Forge 滚动面板中的平滑滚动
- 按下“C”键进行缩放,效果与 OptiFine 相同
- 所有文本字段均支持撤销/重做(Ctrl+Z/Ctrl+Y)以及 Unicode 字符簇/单词迭代器
- 播放本地音乐,允许快进和查看频谱
- 在聊天中支持 Discord/Slack/GitHub/IamCal/JoyPixels 的 emoji 简码
- 精美的工具提示样式
- 选择圆角边框或普通边框(带阴影效果)
- 添加标题断行并控制标题行间距
- 超出屏幕时自动换行和自动垂直滚动
- 居中标题行,支持 RTL 布局方向
- 将工具提示精确定位到像素网格(平滑移动)
- 更改背景和边框颜色(带渐变和动画)
核心功能:
- 多种图形 API 的 2D 图形库
- 着色语言的中表示形式和抽象语法树 (ASTs)
- 符号距离函数和矢量图形渲染
- 图像后处理效果
- 快速的矩阵和向量计算
- 图像格式转换
- 动画和过渡框架
- 事件循环和多线程框架
- 文本整形和复杂文本布局引擎
- MVVM 和生命周期处理
- 自动 RTL(从右到左)UI 布局
- Markdown (CommonMark) 渲染支持
Minecraft 专用现代文本引擎:
- 支持彩色 Emoji,使用基于 Unicode 15.1 Emoji 列表的 Google Noto Color Emoji 15.1;
- 支持聊天中的 Emoji 简码,例如 :rofl: 代表笑得在地上打滚,支持 Discord 和 Slack 简码;
- 您可以使用 TTF 或 OTF 字体,配置基础字体大小,设置基线偏移,并设置是否投射文本阴影;
- 可缩放矢量图形,自动切换分辨率等级(最高至 96px),原生(非合成)粗体和斜体渲染;
- 支持 3D 世界中的距离场文本渲染,但在 2D GUI 中锐化字体图集;增强了之前的功能:
*在任何缩放比例下平滑渲染所有字符(例如当你远离告示牌,或在 GUI 中看到非常小的文本时)
- 支持多层文本,一起布局多个段落,流式布局算法,并引入快速布局缓存;
- 支持快速数字替换、高精度布局和对齐,并平滑绘制快速变化的数字(固定宽度);
- 支持多级渐远纹理 (mip-mapping)、抗锯齿、线性采样和超采样抗锯齿 (SSAA);
- 更好的双向 (BiDi) 文本段落布局(例如阿拉伯语、意第绪语);使用锐化的字体图集;
- 可配置的双向文本启发式算法以更准确地控制文本方向;支持修复无效代理对;
- 使用 HarfBuzz 文本整形,支持组合字符渲染,如泰语、天城文、孟加拉语和泰米尔语;
- 支持字符簇断裂,支持 Unicode 换行算法;
- 支持上下文感知和基于区域的单词断裂和换行;
- 支持像素化字体渲染,支持固定分辨率等级,支持像素对齐;
- 支持位图替换,平滑渲染快速变化的数字,支持 emoji 渲染;
- 优化布局算法,在 GUI 中绘制文本时将您的 FPS 提高约 10%
- 使用灰度像素存储纹理,减少 GPU 内存占用
- 减少不必要的 RAM 使用并大幅减少对象创建
自定义字体
按 Ctrl+K 或 ⌘+K(默认)打开操作中心,进入偏好设置,将屏幕滑动至第二页,即可看到字体设置。
- 首选字体族是您最希望使用的字体。它可以是操作系统字体或 TrueType/OpenType 字体(集合)文件。
- 备用字体族在首选字体族不可用时使用。
现代文本引擎:
现代 UI 遵循 Minecraft 的 JSON 字体定义,仅忽略 'legacy_unicode' 和 'unihex' 两种字形提供程序类型。上述提到的现代 UI 字体族将作为 Minecraft 字体的备用字体族。默认字体行为(在偏好设置 > 文本布局中)允许您从 Minecraft 默认字体 (minecraft:default) 中移除某些字形提供程序。为了避免使用原版 ASCII 字体,只需将其设置为“保留其他”。请注意,如果您未开启强制 Unicode 字体,此选项才有效。如果您想使用原版 Unicode 字体,请下载 GNU Unifont 的 OTF 版本。
Minecraft 的其他功能:
- 支持设置窗口模式,例如全屏无边框、窗口化无边框;
- GUI 屏幕背景淡入动画及两遍高斯卷积模糊效果,可配置的背景渐变色;
- 平滑圆角提示框样式,支持 RTL 布局,可配置背景和边框颜色;
- 游戏加载完成时播放“叮”音效;
- 支持在打开物品栏时暂停游戏;
- 新的 GUI 缩放算法和滑块 GUI 缩放控件(不限于偶数,兼容 OptiFine);
- 为原版和 Forge 滚动面板添加平滑滚动;
- 异步网络处理器;服务器自动关闭;
- 所有功能均可在配置文件或操作中心屏幕(默认快捷键 Ctrl+K)中进行配置
Modern UI for Fabric 移除了部分功能(与 Forge 版本相比):
- 类似 OptiFine 的缩放功能,在 GUI 中隐藏准星
- 输出更多调试信息,扩展崩溃报告
与 Caxton 文本渲染技术的对比
Caxton 模组以其 MSDF 文本渲染而闻名,您可以在 Caxton 和现代文本引擎之间进行选择。
相似之处:
- 两者均使用 HarfBuzz 文本整形
- 两者均支持 Unicode 文本处理
- 两者均支持 Unicode 断行和字符簇断裂
- 两者均在栅格渲染模式下与 Iris 兼容
- 两者都拥有高效的矩形打包算法,优于 Mojang 的实现
不同之处:
- Caxton 使用较新版本的 HarfBuzz,而我们使用的是较旧版本(捆绑于 JDK 17,JDK 21 已更新)
- Caxton 使用多通道 SDF 并渲染出更清晰的放大文本,而我们渲染的是过度圆润的效果
- 我们兼容 OptiFine,而 Caxton 不兼容
- 我们支持彩色 Emoji,而 Caxton 不支持
- 我们支持 FreeType 字体微调,而 Caxton 始终不支持它,字体微调有助于改善低分辨率显示器的效果
- 我们在屏幕空间中支持原生字形图像的完美采样,这非常理想地适用于 2D 渲染
- 我们支持单通道 SDF 文本渲染且无需额外 GPU 资源,我们始终使用 1bpp 纹理
- 我们拥有针对缩小文本的智能 SDF 采样方法,而 Caxton 没有
- 无需等待 MSDF 纹理生成,您可以一键在游戏中切换字体
- 我们支持多种文本方向启发式方法和断行策略
- 我们不使用额外的原生库,因此 Modern UI 可在 macOS 上运行
- 我们的布局性能略高于 Caxton,且占用更少的内存
模组集成与兼容性:
兼容(需要注意):
OptiFine, Sodium, Iris, Create, AoA3
如果启用了光影,在 3D 中使用现代文本光影 将自动禁用,这会导致发光文本的轮廓变得不可见。
具有类似功能的模组已被替换:
- Blur(ver 1.15 ~ 1.21.8;原因:完全覆盖其功能,优化更佳)
- Blur 模组声称使用高斯模糊,但我发现它实际上使用的是两遍盒式模糊。而 Modern UI 为您提供真正的一次性高斯模糊,优于 Blur 模组。
- Controlling(ver 1.15;原因:另一种实现方式)
- TipTheScales(ver 1.15 ~ 1.21.8;原因:另一种实现方式)
- Inventory Pause(ver 1.18 ~ 1.21.1;原因:另一种实现方式)
- Emojiful(ver 1.18 ~ 1.21.1;原因:自 3.5.0 起我们支持彩色 Emoji 渲染;此外,Emojiful 的代码质量极差,会在各处破坏您的游戏;您可能会遇到游戏冻结、显存占用过高、渲染故障以及许多性能和模组兼容性问题)
- Borderless Window(ver 1.18 ~ 1.21.4;原因:另一种实现方式)
- Ding(ver 1.18 ~ 1.21.4;原因:另一种实现方式)
- SmoothScrollingEverywhere(ver 1.18 ~ 1.19;原因:另一种实现方式)
- FPS Reducer(ver 1.18 ~ 1.21.8;原因:另一种实现方式)
冲突与解决方案:
- Emojiful(ver 1.16 ~ 1.21.1;不建议使用 Emojiful;如果必须使用,请通过配置屏幕或引导属性禁用 Modern UI 文本引擎)
- Legendary Tooltips(ver 1.16 ~ 1.21.4;解决方案:通过配置屏幕禁用 Modern UI 提示框)
- FeyTweaks(ver 1.18 ~ 1.21.1;解决方案:在 FeyTweaks 的 mixin 配置中禁用 TextRendererMixin)
- SmoothScrollingEverywhere(ver 1.18 ~ 1.19;解决方案:通过配置屏幕禁用 Modern UI 平滑滚动)
- Caxton(ver 1.18 ~ 1.21.8;解决方案:通过配置屏幕或引导属性禁用 Modern UI 文本引擎)
- ImmediatelyFast(ver 1.18 ~ 1.21.8;解决方案:
对于 1.18 ~ 1.21.4:禁用 ImmediatelyFast 的 hud_batching、font_atlas_resizing 和 fast_text_lookup;否则,您可能会遇到随机游戏崩溃;
对于 1.21.6 ~ 1.21.8:禁用 ImmediatelyFast 的 avoid_redundant_framebuffer_switching)
- Untranslated Items(ver 1.18 ~ 1.21.4;解决方案:通过配置屏幕禁用 Modern UI 文本组件缓存)
支持的 MC 版本:
- 积极维护中:1.21.8, 1.21.7, 1.21.6, 1.21.1, 1.21, 1.20.1, 1.20
- 即将弃用:1.21.4
- 不再支持:1.21.3, 1.21.2, 1.20.6, 1.20.4, 1.20.2, 1.19.4, 1.19.2, 1.18.2, 1.18.1, 1.18, 1.17.1, 1.16.5, 1.16.4, 1.16.3, 1.16.2, 1.16.1, 1.15.2, 1.14.4
本页的所有描述均针对 Minecraft 1.20.1 及更高版本。旧版本可能会缺少某些功能。
PC 配置要求(与 Minecraft Vanilla 相同)
有些人不愿意使用 Modern UI,因为他们认为 Modern UI 对电脑配置要求很高。事实上,只要你能够运行 Minecraft Vanilla,就绝对可以运行 Modern UI。除非你忘了更新显卡驱动。
- 操作系统:Windows 8.1+、带有 X11 或 Wayland 的 Linux、macOS
- 架构:x64 或 arm64
- 显卡:GeForce 210 或更好
- 显卡驱动:OpenGL 3.3+ 或 Vulkan 1.1+,越高越好
- Java:Java 17+,越高越好
常见问题解答:
Q: Default Font Behavior(默认字体行为)和 Force Unicode Font(强制 Unicode 字体)有什么区别?
A: 首先,Modern UI 始终将 Unicode 字体重定向到 Modern UI 的默认字体系列。在 1.19+ 版本中,Default Font Behavior 默认为 KEEP ALL(保留全部),此时 ASCII 字符使用 Minecraft 默认字体。KEEP OTHER(保留其他)意味着不再使用 Minecraft 默认字体,但仍然可以使用额外字体,例如某些小游戏地图中的字体。这与 Force Unicode Font (IGNORE ALL) 不同。
Q: Modern UI 是否开销很大?会降低应用程序性能吗?
A: 不会,Modern UI 对 CPU、GPU、RAM 和 VRAM 的使用没有显著影响。这是因为 Modern UI 本身优化良好,同时提供了大量新功能和特效。众所周知,Modern UI 框架比基于 Chromium 的应用程序效率更高。
对于低端电脑,屏幕模糊效果可能是性能杀手,因为 Minecraft Vanilla 不允许在渲染目标上生成 mipmap。即便如此,Modern UI 提供的模糊效果也比名为 'Blur' 的模组快得多。
Q: 如何禁用所有对原版的变化?我不想要这些功能。
A: 只有 GUI 缩放算法和一些底层代码是不可配置的,其他任何功能都可以在操作中心界面(默认快捷键 Ctrl+K)或配置文件(gameDir/config/ModernUI/)中禁用,因为 Modern UI 本质上是一个框架。
Q: 这个模组是仅客户端的吗?我需要安装在服务器上吗?
A: 自从 MC 1.19.2 以来,没有必要再在服务器上安装此模组了。所有服务器端功能已被弃用,并实现在 Forge API 和 Fabric API 中。
Q: 如何开始开发基于 Modern UI 的模组?
A: 该项目仍处于早期阶段,规范仍在编写中。你可以查看 JavaDoc。示例包括 Modern UI 本身(Action Center)和 Flux Networks。如果你有任何问题,欢迎加入我们的 Discord 服务器。
问题反馈:所有问题报告请提交至 GitHub issue tracker。
加入我的 Discord Server 进行讨论和建议。

Modern UI by Icyllis Milica
Description:
Modern UI (by Icyllis Milica) is a desktop application framework designed for standalone 2D and 3D rendering software development. It makes use of modern 3D graphical APIs and technologies to provide real-time rendering with high performance. For good measure, Modern UI improves and optimizes a set of features used by Google Android and its own set of internationalization supporting text engine.
Modern UI for Minecraft, is a Minecraft Mod that is based on Modern UI Core Framework and Modern UI Core Extensions. It provides Modern UI bootstrap program in Minecraft environment and Modding API based on Forge/Fabric, to make powerful Graphical User Interface in Minecraft.
For client, press Ctrl+K or ⌘+K (by default) to open Action Center screen to configure Modern UI. (Note that you can swipe the Preferences screen to configure fonts)
This Mod also includes a powerful text layout engine and text rendering system designed for Minecraft.
This engine provides appropriate methods for processing Unicode text and gives you more readable text in any scale, in 2D/3D. In details:
- Real-time preview and reload TrueType/OpenType fonts
- A better font fallback implementation
- Anti-aliasing text and FreeType font hinting
- Use improved SDF text rendering in 2D/3D (also use batch rendering)
- Compute exact font size in device space for native glyph rendering
- Use Google Noto Color Emoji and support all the Unicode 15.1 Emoji (September 12, 2023)
- Configurable bidirectional text heuristic algorithm
- Configurable text shadow and raw font size
- Unicode line breaking and CSS line-break & word-break
- Fast, exact and asynchronous Unicode text layout computation
- Faster and more memory efficient rectangle packing algorithm for glyphs
- Use real grayscale texture (1 byte-per-pixel, whereas Minecraft is 4 bpp)
- Compatible with OptiFine, Sodium (Rubidium), Iris (Oculus) and many mods
- Compatible with Minecraft's JSON font definition (bitmap fonts, TTF fonts)
Additionally, this Mod provides many utilities which improve game performance and gaming experience. Currently, we have:
- Changing screen background color
- Gaussian blur to screen backdrop image
- Fade-in animation to screen background
- More window modes: Fullscreen (borderless), Maximized (borderless)
- Framerate limit and master volume fading on window inactive (out of focus) and minimized
- Pausing single-player game when Inventory is open
- Changing GUI scale option to Slider and providing hint text
- Playing a "Ding" sound when Minecraft loads and reaches the Main Menu
- Enabling smooth scrolling in Vanilla's Selection List and Forge's Scroll Panel
- Pressing "C" to Zoom that is the same as OptiFine
- Undo/Redo (Ctrl+Z/Ctrl+Y) and Unicode grapheme/word iterator for all text fields
- Playing local music, allowing to seek and view spectrum
- Support Discord/Slack/GitHub/IamCal/JoyPixels emoji shortcodes in Chatting
- A fancy tooltip style
- Choose rounded border or normal border (with shadow effect)
- Add title break and control title line spacing
- Auto line wrapping and auto vertical scrolling when out of screen
- Center the title line, support RTL layout direction
- Exactly position the tooltip to pixel grid (smooth movement)
- Change background color and border color (with gradient and animation)
Core Features:
- 2D Graphics Library of Multiple Graphics APIs
- Intermediate Representation and ASTs of Shading Languages
- Symbolic distance function and vector graphics rendering
- Image post-processing effects
- Fast matrix and vector calculation
- Image format conversion
- Animation and transition framework
- Event loop and multi-threading framework
- Text shaping and complex text layout engine
- MVVM and lifecycle handling
- Automatic RTL (right-to-left) UI layout
- Markdown (CommonMark) rendering support
Modern Text Engine for Minecraft:
- Support color Emoji, use Google Noto Color Emoji 15.1, based on Unicode 15.1 Emoji list;
- Support Emoji shortcodes in chat, for example :rofl: to rolling on the floor laughing, support Discord and Slack shortcodes;
- You can use TTF or OTF fonts, configure the font base size, set the baseline shift, and set whether to drop text shadow;
- Scalable vector graphics, automatic switching resolution level (up to 96px), native (non-synthetic) Bold and Italic rendering;
- Supports distance field text rendering in 3D world, but sharpens font atlas in 2D GUI; This enhances a former feature:
*Render all characters smoothly on any scale (like when you're away from a sign, or a very small text in GUI)
- Support multilayer text, layout multiple paragraphs together, streaming layout algorithm, and introduce fast layout cache;
- Support fast digit replacement, high-precision layout and alignment, and smoothly draw fast changing digits (fixed width);
- Support mip-mapping, anti-aliasing, linear sampling and supersampling anti-aliasing (SSAA);
- Better and more efficient layout of BiDi text paragraphs (e.g. Arabic, Yiddish); Use sharpen font atlases;
- Configurable BiDi text heuristic algorithm to control text direction more accurately; Support to fix invalid surrogate pairs;
- Use HarfBuzz text shaping, support combining characters rendering, like Thai, Devanagari, Bengali and Tamil;
- Support grapheme cluster break, support Unicode line breaking algorithm;
- Support context-aware and locale-based word break and line break;
- Support pixelated font rendering, support fixed resolution level, support pixel alignment;
- Support bitmap replacement, rendering smoothly for fast changing numbers, support emoji rendering;
- Optimize the layout algorithm, increase your FPS by about 10% when drawing texts in GUI
- Use grayscale pixels to store texture, reduce GPU memory usage
- Reduce unnecessary RAM usage and greatly reduce object creation
Customize Fonts
Press Ctrl+K or ⌘+K (by default) to open Action Center, go to Preferences, swipe the screen to the second page, and you will see Font settings.
- Preferred font family is your most wanted one. It can be either an OS font or a TrueType/OpenType font (collection) file.
- Fallback font families are used when the preferred font family is unavailable.
Modern Text Engine:
Modern UI follows Minecraft's JSON font definition, only glyph provider type 'legacy_unicode' and 'unihex' are ignored. Modern UI font families mentioned above will serve as fallback font families for Minecraft fonts. Default Font Behavior (in Preferences > Text Layout) gives you an option to remove some glyph providers from the Minecraft default font (minecraft:default). To avoid using vanilla ASCII fonts, just set it to Keep Other. Note this option is only valid if you have not turned on Force Unicode Font. If you want to use vanilla Unicode font, just download the OTF version of GNU Unifont.
Additional Features for Minecraft:
- Support setting window mode, such as fullscreen borderless, windowed borderless;
- GUI screen background fade-in animation and 2-pass gaussian convolution blur effect, configurable background gradient color;
- Smooth rounded tooltip style, support RTL layout, configurable background and border color;
- Play a "ding" sound effect when the game is loaded;
- Support pausing the game when your inventory is opened;
- New GUI scale algorithm and slider GUI scale widget (not limited to even numbers, compatible with OptiFine);
- Add smooth scrolling for vanilla and forge scrolling panels;
- Async network handler; Server auto-shutdown;
- All features are configurable in configs or Action Center screen (default shortkey Ctrl+K)
Modern UI for Fabric removed some features (compared to the Forge version):
- OptiFine-like zoom, hide crosshairs in GUI
- Dump more debugging information, crash report extension
Comparison with Caxton text rendering techniques
Caxton mod is known for its MSDF text rendering, you can choose between Caxton and Modern Text Engine.
Similarities:
- Both use HarfBuzz text shaping
- Both support Unicode text processing
- Both support Unicode line breaking and grapheme cluster break
- Both compatible with Iris in raster rendering mode
- Both have an efficient rectangle packing algorithm, further better than Mojang's
Differences:
- Caxton uses a newer HarfBuzz whereas we use a older one (bundled with JDK 17, it's updated in JDK 21)
- Caxton uses multi-channel SDF and renders sharper scaling-up texts, whereas we render over-rounded
- We are compatible with OptiFine, whereas Caxton isn't
- We support color emoji, whereas Caxton doesn't
- We support FreeType font hinting whereas Caxton never support it, font hinting helps on low-res monitor
- We support perfect sampling of native glyph image in screen-space, this is ideal for 2D rendering
- We support single-channel SDF text rendering without additional GPU resources, we always use 1bpp textures
- We have smart SDF sampling method for scaling-down texts, whereas Caxton hasn't
- No need to wait for MSDF texture generation, you can switch fonts in-game with just one click
- We support various text direction heuristics and line break strategies
- We don't use additional native libraries, so Modern UI works on macOS
- We have a slightly higher layout performance than Caxton, and use less RAM
Mod Integration & Compatibility:
Compatible (you should pay attention to):
OptiFine, Sodium, Iris, Create, AoA3
If Shaders are active, Use Modern Text Shaders in 3D is auto disabled, it will cause the outline of glowing text to become invisible.
Mods with similar functions are replaced:
- Blur (ver 1.15 ~ 1.21.8; reason: full functional coverage, better optimization)
- Blur mod claims to use Gaussian blur, but I found it actually uses 2-pass box blur. Whereas Modern UI gives you the true 1-pass Gaussian Blur, which is better than Blur mod.
- Controlling (ver 1.15; reason: another way of implementation)
- TipTheScales (ver 1.15 ~ 1.21.8; reason: another way of implementation)
- Inventory Pause (ver 1.18 ~ 1.21.1; reason: another way of implementation)
- Emojiful (ver 1.18 ~ 1.21.1; reason: we support color emoji rendering since 3.5.0; additionally, Emojiful has really bad code and breaks your game everywhere; you may experience game freezing, high VRAM usage, rendering glitches, and many performance & mod compatibility issues)
- Borderless Window (ver 1.18 ~ 1.21.4; reason: another way of implementation)
- Ding (ver 1.18 ~ 1.21.4; reason: another way of implementation)
- SmoothScrollingEverywhere (ver 1.18 ~ 1.19; reason: another way of implementation)
- FPS Reducer (ver 1.18 ~ 1.21.8; reason: another way of implementation)
Conflict and Solution:
- Emojiful (ver 1.16 ~ 1.21.1; it's not recommended to use Emojiful; if you must use it, disable Modern UI text engine, via config screen or bootstrap properties)
- Legendary Tooltips (ver 1.16 ~ 1.21.4; solution: disable Modern UI tooltip, via config screen)
- FeyTweaks (ver 1.18 ~ 1.21.1; solution: disable TextRendererMixin in FeyTweaks' mixin config)
- SmoothScrollingEverywhere (ver 1.18 ~ 1.19; solution: disable Modern UI smooth scrolling, via config screen)
- Caxton (ver 1.18 ~ 1.21.8; solution: disable Modern UI text engine, via config screen or bootstrap properties)
- ImmediatelyFast (ver 1.18 ~ 1.21.8; solution:
for 1.18 ~ 1.21.4: disable ImmediatelyFast's hud_batching, font_atlas_resizing and fast_text_lookup; otherwise, you may experience random game crashes;
for 1.21.6 ~ 1.21.8: disable ImmediatelyFast's avoid_redundant_framebuffer_switching)
- Untranslated Items (ver 1.18 ~ 1.21.4; solution: disable Modern UI text component cache, via config screen)
Supported MC versions:
- Actively maintained: 1.21.8, 1.21.7, 1.21.6, 1.21.1, 1.21, 1.20.1, 1.20
- About to be dropped: 1.21.4
- No longer supported: 1.21.3, 1.21.2, 1.20.6, 1.20.4, 1.20.2, 1.19.4, 1.19.2, 1.18.2, 1.18.1, 1.18, 1.17.1, 1.16.5, 1.16.4, 1.16.3, 1.16.2, 1.16.1, 1.15.2, 1.14.4
All descriptions on this page are for Minecraft 1.20.1 and above. Some features may be missing in older versions.
PC Requirements (same as Minecraft Vanilla)
Some people are unwilling to use Modern UI because they believe that Modern UI has a high PC requirements. In fact, as long as you can play Minecraft Vanilla, you can definitely play Modern UI. Unless you forget to update your GPU driver.
- OS: Windows 8.1+, Linux with X11 or Wayland, macOS
- Architecture: x64 or arm64
- GPU: GeForce 210 or better
- GPU Driver: OpenGL 3.3+ or Vulkan 1.1+, higher is better
- Java: Java 17+, higher is better
FAQ:
Q: What is the difference between Default Font Behavior and Force Unicode Font?
A: Firstly, Modern UI always redirects Unicode font to Modern UI default typeface. Default Font Behavior is KEEP ALL in 1.19+, then Minecraft default font is used for ASCII characters. KEEP OTHER means that Minecraft default font is no longer used, but additional fonts, for example, in some minigame maps, are still available. This is the difference from Force Unicode Font (IGNORE ALL).
Q: Does Modern UI have a high overhead? Will Modern UI lower application performance?
A: No, Modern UI does not have a significant impact on CPU, GPU, RAM, and VRAM usage. This is because Modern UI itself has good optimization, but at the same time, Modern UI provides a bunch of new features and effects. Modern UI framework is known to be more efficient than Chromium-based applications.
For low-end PCs, screen blur effect may be a performance killer, because Minecraft Vanilla does not allow mipmap generation on render targets. Even so, the blur effect provided by Modern UI is much faster than a mod called 'Blur'.
Q: How to disable all changes to vanilla, I don't want these features.
A: Only GUI scale algorithm and some low-level code are non-configurable, any other features can be disabled in Action Center screen (shortkey Ctrl+K by default), or config files (gameDir/config/ModernUI/), because Modern UI is essentially a framework.
Q: Is this mod a client-only mod? Do I need to install it on the server?
A: Since MC 1.19.2, there is no reason to install this mod on the server anymore. All server features are deprecated and implemented to Forge API and Fabric API.
Q: How to get start to develop my mod based on Modern UI?
A: This project is still in early stages, the specification is still being written. You can view the JavaDoc. Examples include Modern UI itself (Action Center) and Flux Networks. If you have any questions, feel free to join our Discord server.
Issues: All issue reports should go to GitHub issue tracker.
Join my Discord Server for discussion and suggestions.
评论 0
登录后参与评分
还没有评论,来抢沙发吧