DearImGui
by deftu
DearImGui is a Fabric library that lets other mods draw Dear ImGui interfaces inside Minecraft.
What it does
The library provides the means to use Dear ImGui, an immediate-mode GUI toolkit, within the game. A developer building a mod for Minecraft 1.21 creates a DearImGuiEntrypoint class and registers it in the fabric.mod.json file, then overrides its two methods to render interface elements. Fabric Language Kotlin is required. Only the client needs the library, so servers do not run it. It is open source under the GNU Lesser General Public License v3.0 or later, and files are published for 1.16.5 – 1.21.
Key features
Entrypoint-based rendering
A DearImGuiEntrypoint class is registered in fabric.mod.json, and its methods decide what gets drawn each frame.
Simple renderer method
The createRenderer method sets up a basic renderer for straightforward ImGui drawing.
Extra parameters
The alternative createRenderer variant accepts additional parameters, giving more control over how rendering is set up.
Compatibility
Latest build for each game version and loader.
1.21.x1 of 1 version with builds
1.20.x4 of 4 versions with builds
1.19.x2 of 2 versions with builds
1.18.x1 of 1 version with builds
1.17.x1 of 1 version with builds
1.16.x1 of 1 version with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Questions
Does DearImGui need Fabric Language Kotlin?
Do servers need DearImGui installed?
In the catalog
DearImGui is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 15,770 mods support Minecraft 1.21.
More from deftu
Similar mods
What the author says
You need to add it as a dependency in your build.gradle(.kts) file. Of course, replace with the version of Minecraft you are developing for, and with the version of the library you want to use.
Official listing
- Modrinth page
- modrinth.com/mod/dearimgui
- Owner
- deftu
- Published
- 2024-07-02
- Updated on Modrinth
- 2024-07-02
- Facts verified
- 2026-10-15
