Modern UI
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 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.
License
- Modern UI
- Modern UI Assets ─ UI layouts, textures, shaders, models, documents and so on
- Additional Assets
- source-han-sans by Adobe, licensed under the OFL-1.1
- Twemoji by Twitter, licensed under the MIT License
- Libraries
Documentation
Specifications: (WIP)
Minecraft Modding: Getting Started
Environment requirements
- Windows 8 or above, Linux or macOS
- JDK 17.0.1 or above
- OpenGL 4.5 or above (see here for macOS)
- Vulkan 1.1 or above (WIP)
- (Optional) Forge 1.18.2-40.0.0
Gradle configuration
repositories {
maven {
name 'IzzelAliz Maven'
url 'https://maven.izzel.io/releases/'
}
}
dependencies {
implementation "icyllis.modernui:ModernUI-Core:${modernui_version}"
// apply appropriate LWJGL platform here
}
ForgeGradle 5 (for Minecraft Modding)
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.
Screenshots
Navigation
Texts
Graphics
Audio visualization
Out-of-date widgets