Code Defined GUI
by klikli-dev
Code Defined GUI is a NeoForge library that lets other mods define their interface screens in code rather than in image files.
What it does
Other mods can build their GUI layouts directly in code with this library, so a developer does not need a full layout image editor to create one. Layouts can be changed at runtime, which lets a modder swap between several hand-made background images without rebuilding the screen. The library is published for NeoForge only, for 26.1.2, 26.2 and 26.3, with 26.3 as the latest file.
Key features
Code-defined screens
Mods describe their GUI layout in code, which removes the need for a separate layout image editor.
Runtime layout changes
Screen layouts can be altered while the game runs, without reloading or rebuilding the interface.
Background image swapping
A mod can switch between several hand-made background images on the same defined layout.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
In the catalog
Code Defined GUI is one of 3,514 Library mods on ModsFinder, and one of 1,449 Library mods for NeoForge. 8,071 mods support Minecraft 26.3.
More from klikli-dev
Similar mods
What the author says
Code Defined GUI is a Minecraft mod that allows other mods to define GUIs in code – without the need to create the full layout in an image editor. This allows for faster creation and prototyping of GUIs, and enables dynamic GUI layout changes without needing multiple hand-made background images to swap between. Code…
Official listing
- Modrinth page
- modrinth.com/mod/code-defined-gui
- Owner
- klikli-dev
- Published
- 2026-04-22
- Updated on Modrinth
- 2026-10-06
- Facts verified
- 2026-10-15
