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 high real-time rendering performance. For good measure, Modern UI improves and optimizes a set of features used by Android and its own set of internationalization supporting text layout engine meeting Unicode specification.
There is also an official version that extends to Minecraft and Forge, it combines Modern UI with Minecraft and provides a number of additional features and modding APIs.
Main features: signed distance function, image post-processing effect, fast matrix and vector calculation, animation library, asynchronous event loop, text shaping, tessellation shader...
This project is still at a relatively early stage.
Releases for Minecraft Mod are available on CurseForge.
If you have any questions, feel free to join our Discord server.
- Modern UI
- Modern UI Assets ─ UI layouts, textures, shaders, models, documents and so on
- Libraries
(WIP)
- Windows 8 or above, Linux or macOS
- JDK 17.0.1 or above
- OpenGL 4.5 or above (see below for macOS)
- Vulkan 1.1 or above (WIP)
- (Optional) Forge 1.18.2-40.0.0
For macOS users (not tested yet, discuss on Discord):
To use OpenGL, install both MoltenVK and Mesa 22.1+, then use Gallium Zink for LWJGL.
Add JVM arg -Dorg.lwjgl.opengl.libname=.../zink/lib/libGL.1.dylib
.
Expected: App -> Mesa -> Pipe -> Zink -> MoltenVK -> Metal
repositories {
maven {
name 'IzzelAliz Maven'
url 'https://maven.izzel.io/releases/'
}
}
dependencies {
implementation "icyllis.modernui:ModernUI-Core:${modernui_version}"
// apply appropriate LWJGL platform here
}
configurations {
library
implementation.extendsFrom library
}
minecraft.runs.all {
lazyToken('minecraft_classpath') {
configurations.library.copyRecursive().resolve().collect { it.absolutePath }.join(File.pathSeparator)
}
}
dependencies {
library "icyllis.modernui:ModernUI-Core:${modernui_version}"
implementation fg.deobf("icyllis.modernui:ModernUI-Forge:${minecraft_version}-${modernui_version}")
}
Add these if you have not MixinGradle:
minecraft {
runs {
client {
property 'mixin.env.remapRefMap', 'true'
property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg"
}
server {
property 'mixin.env.remapRefMap', 'true'
property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg"
}
// apply to data if you have datagen
}
}
You need to regenerate run configurations if you make any changes on this.
Navigation
Texts
Graphics
Audio visualization
Out-of-date widgets