2024-12-12 09:14:19|Myriagame |source:minecraft skins
Brief introduction
Modern UI aims to create more refined UI than the original, including appearance, animation effects, new rendering engines, text layout engines and performance optimization, making UI more dynamic and easier to operate.
But chasing its origin, Modern UI is a UI framework to develop independent desktop applications.Many structures are similar to Android, but their implementation is very different.
Modern UI uses homemade rendering engine ARC 3D to support multi -threaded rendering and the rendering performance is very high.The text layout engine uses the Unicode specification and uses Harfbuzz to have a good international ability.
Notice
Press Ctrl+K in the game to open the Modern UI operation center. You can configure most of the functions in the preference settings. Note that this page can slide up, down, left and right.
If you are using 1.16.5 or lower game versions, please note that your Java version. If you use an official startup or CurseForge startor, please update the Java and modify the Java directory in the startup parameter.
Minecraft 1.16 requires Java 11-15, Minecraft 1.15 requires Java 8-15.Minecraft 1.18 or above is the same as the original, which requires Java 17.
The Modern UI 3.8 version starts (MC 1.18.2). Thanks to the new rendering engine ARC 3D, the Modern UI can choose the best rendering method according to the actual operating environment, minimum compatible to OpenGL 3.3.MC 1.16 requires OpenGL 4.3.
Text engine
Modern text engines provide Minecraft with high -quality text rendering, resolution of unrelated outer frame fonts, color emoji symbols, and correct Unicode text processing and layout support.
Support color emoji, use Google Noto Color Emoji 15.1, based on Unicode 15.1 Emoji List;
You can use TTF or OTF fonts, which can be configured with font benchmark size. The baseline offset can be set. Shadow rendering can be set to preview the switch in real time;
Ultra -high definition, automatic switching resolution level (up to 96 fonts), native coarse oblique rendering;
Draw the font smoothly at any proportion, you can use the distance field (SDF) in the 2D interface and the 3D world;
Support screen space anti -aliasing and FreeType font fine -tuning, support MIPMAP, and automatically calculate the actual font size based on the matrix;
Support the original pixel -style graphic font, support all the text styles of the original version, cache cache of ultra -high -speed text layout, support layout stitching;
Automatic alignment pixel grid to effectively avoid too vague or sharp edges of the text (sawtooth);
Better and more efficient layout of mixed two -way (BIDI) text paragraphs (such as Arabic Arabic, Yiddish);
You can set up a two -way text direction inspiration algorithm to control the direction of text more accurately; support the repair of the invalid proxy pair (Surrogate Pair);;
Use HARFBUZZ text plastic surgery to support the font rendering, such as Tianshi Devanagari, Bangladesh BENGALI, Tamil Tamil, Thai Thai;
Support word cluster division algorithm (Grapheme Cluster Break), support the Unicode branch algorithm, interrupt and change lines according to the context and language;
Better fonts retreat, automatically allocate fonts, support variant selection, automatically adjust the row high;
Provide a faster and more saved rectangular compressive algorithm for real -time fonts;
Support asynchronous and concurrent text layout, separate layout calculations and rendering to ensure thread safety;
Support Commonmark, HTML syntax, support any custom embedded content, and support different areas settings;
Optimize the iterative algorithm and optimize the layout algorithm, which can increase the frame rate by about 10% when rendering text in GUI;
Use a real Alpha mask diagram to store texture to reduce memory occupation; reduce unnecessary memory occupation and reduce the creation of objects per frame.
Function
Provide animation effects and transit animation, etc.; Use Shader to directly draw rounded rectangular, ring, fan -shaped and other graphics; reduce the CPU calculation and improve the GPU performance;
The "item" statistics information is divided into the item and square tab, and all the statistical information can be updated in real time;
All slider options are applied to change when stopping drag; (for example, reducing lag when changing the rendering distance)
More intelligent button binding settings and more intelligent key conflict detection; button binding search function and screening all conflicts and positioning them;
When moving to the text field/text area, the mouse cursor will be changed to the shape of "丨";
For details, view the CurseForge homepage, Modrint homepage, Github homepage, Discord server.Additional function
Support window mode switching, such as full -screen borderless frames, maximum borderlessness;
Limit the frame rate and main voices when the window is lost and minimizes;
Support the input emoji simplified code in the chat bar, for example: ROFL: rolling with a smile; support Discord/Slack/Github/IAMCAL/JOYPIXELS;
Add the withdrawal/replay to all this input box (CTRL+Z, CTRL+Y) support, support the word selection of all languages (press Ctrl+keyboard left and right button);
Play local music, allow jump to the specified location and view the spectrum;
Press the C key to achieve the same zoom effect as Optifine;
GUI fades into the animation and background blur effect (Gaussian convolution), which can set the background gradient color;
Smooth rounded tool prompt box style, supports RTL layout, can set background and frame gradient color, the title is centered, automatically changes, beyond the screen automatically rolling;
The tool prompt can be configured with a rounded corner radius, shadow radius, shadow strength, and the title septum; the tool prompt color can be based on the name and rarity of the item;
After the game starts, play the "Ding" prompt sound to support the game when supporting the item bar;
Improve interface size settings (slider components, improve algorithms, get rid of the limit of the proportion of the number, compatible with Optifine);
Add a smooth rolling function to the original and Forge rolling panel;
Fabric version moves except some functions (compared to the Forge version)
Optifine -style zoom, hidden stars in GUI, expansion of collapse logs
PS: Because the Modern UI has a lot of functions, please go to CurseForge, Modrinth and Discord to learn about the latest developments.
Compared with caxton text rendering technology
The caxton module is famous for its MSDF text, and you can choose between caxton and modern text engines.
Common point:
All use Harfbuzz text plastic surgery
They all support unicode text processing
They all support unicode changes and word clusters.
Compatible with Iris in the grating mode
There are efficient rectangular compression algorithms, which is far better than Mojang
Different points:
CAXTON uses a newer HARFBUZZ version, and we use the older ones (binding with JDK 17, updated in JDK 21)
CAXTON uses a multi -channel distance (MSDF) to render the sharp and enlarged text, and we rendering the large text will be too rounded
We are compatible with Optifine, and CAXTON is not compatible
We support color emoji symbols, but Caxton does not support
We support freetype fonts fine -tuning, and caxton will never support it. Font fine -tuning is helpful on a low -resolution display
We support the perfect sampling of babor -shaped images in the screen space. This is the ideal situation of 2D rendering
We can support the single -channel distance field (SDF) text rendering without increasing the memory occupation. We always use 1 byte of the texture of each pixel
We have the intelligent SDF sampling method of narrowing text, and caxton does not have (caxton is far away and the perspective moves, the text will flash)
We don’t need to wait for the MSDF texture to generate, you can switch the font in one click and instantly in the game
We support a variety of text direction algorithms and change strategies
We do not use additional machines, so we can directly run on the MACOS operating system and non -X86_64 computers without manual compilation of source code
We have a slightly higher layout performance than CAXTON, and use less memory
Module linkage and compatibility
Replace the module (Modern UI contains the functions of these modules):
The interface background is blurred (blur) (1.15 to 1.20, full function coverage, better optimization)
Controlling (only 1.15)
Tipthescales (1.15 to 1.20, only forge, another implementation)
Inventory Pase (1.18 to 1.20, another implementation)
Emojiful (Modern UI 3.5.0 has supported color Emoji rendering; note that emojiful will destroy your game, causing game stuck, high memory occupation, stuck and compatibility issues)
Borderless Window (1.18 to 1.20, another implementation)
The interface enters the reminder (1.18 to 1.20, another implementation)
SmoothScrollingEverywhere (1.18 to 1.19, another implementation) FPS reducer (1.18 to 1.20, another implementation)
Conflict module (and solution):
Emojiful (1.16 to 1.20, not recommended; if emojiful must be used, the modern text engine of Modern UI is turned off by configuration interface or starting attributes)
Legend tool tips
Feytweaks (1.18 to 1.20; turn off the TextRenderrmixin in Feytweaks Mixin configuration)
SmoothScrollingEveryWhere (1.18 to 1.19; closes the smooth scrolling of Modern UI through the configuration interface)
CAXTON (1.18 to 1.20; turn off the modern text engine of Modern UI through configuration interface or start -up attributes)
ImmediaTelyfast
The name of the item name bilingual (Untranslate items) (1.18 to 1.20; closing the text component cache of the Modern UI text engine, which will slightly reduce the performance)
Module that needs attention:
Known compatibility: Optifine, Sodium, Iris, Create, AOA3
When the light and shadow start, the Modern UI's "Use Modern Text Sex in the 3D World" will automatically disable.
Classic Bars: The color interpolation of the module is incorrect, resulting in the opacity of the blood bars (should be 0 or 255), which cannot be rendered;Rendering, but its RGB value is still wrong.
Jei potion effect (Just Enough Effect Descriptions): This is the rendering problem of Jei/REI, which rendered and used in-depth testing in advance, causing the background film to be lost;The problem of the rendering is as good as possible, but it is best not to use Jei potion.
Create: When the prompt box of the engineer's goggles is displayed, the engineer's goggles icon will cover a certain text; this is that the mechanical power assumes that the width of the space is 4, and the width of the space changes with the font.For example, under the default font of the Modern UI, the width of the space is significantly less than 4, resulting in insufficient indentation, and the text is covered.
Frequently Asked Questions Answers
Does this module need to be installed on the service side?
For MC 1.19.2 and above, Modern UI is a pure client module. It has no effect on the server and will not collapse.For MC 1.18.2 and Modern UI is 3.10.1.1 or above, generally do not need to be installed on the server.For earlier versions, if you just want to use Modern UI's own client function, you don't need to install on the server.However, if there are other MODs that depend on Modern UI installed on the server, Modern UI is not installed on the server, and most of the functions will be unavailable.Using non -official or excessive versions of the server may not enter the server.
Will the Fabric version be released?
Fabric is a lightweight API and is not recommended.At present, the Fabric version of MC 1.20.1+ is currently lacking in some functions compared to the Forge version.
Instructions: CAXTON has some functions of this module (the text of the notice sign is clearer and so on?).
Why are the fonts of 1.18.2 red?
This should be a problem with your graphics card driver.If you have independent display, make sure you use the independent display to start the game.Please make sure you download and install the latest graphics card driver manually on NVIDIA/AMD/Intel's official website. Do not use the system pre -installed or automatic driver.There is no problem with the graphics card produced after 2010 and updated to the latest driver.It is known that the entry -level graphics card GeForce 210 produced in 2009 can run normally.For the Intel Gen7 graphics card (INTEL three -generation processor), because there is no correct hardware support, it is suspended by Intel in 2020 without a solution.How to use MC 1.18.2 on the mobile phone?
Use Mesa Gallium Zink to drive on Vulkan with Mesa Gallium Zink.
Why 1.16.5 There is no XXX ... Because its version has stopped support, please use the latest game version.It is currently only updated with more than 1.18.2.
What is the license agreement used in this module?
The source code and binary forms of ModernUI and ModernUI-MC are LGPL-3.0-OR-Later.
Technical discussion group (limited to high -end players, developers, and rendering technology enthusiasts): 993254209
Game screenshot
National Service DNF Dark Ni
2025-01-28 09:19:27The new screenshot of the be
2025-01-28 09:18:57The 15th anniversary wallpap
2025-01-28 09:18:273DM Xuanyuan Sinicization Gr
2025-01-28 09:17:57French magazine is the first
2025-01-28 09:17:27The sneak game "Republic" wi
2025-01-28 09:16:57The story between humans and
2025-01-28 09:16:27Capture "Trinity 3: Artifact
2025-01-28 09:15:27Wind direction change "Myste
2025-01-28 09:14:57DICE's new project "Dream" w
2025-01-28 09:14:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:26Master Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25King Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25Guide Minecraft Skins
Minecraft Skins
2024-12-10 04:11:24Dark Knight Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Sparta Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Moncraft Skins of the War
Minecraft Skins
2024-12-10 04:11:22Red Witch Minecraft Skins
Minecraft Skins
2024-12-10 04:11:22Golden Cavaliers Minecraft S
Minecraft Skins
2024-12-10 04:11:22