Galdur UI 1.1.0 (NeoForge 26.3)
Curse Maven Snippet
What's new
Galdur UI now supports Minecraft 1.20.1 and 26.3, and players can apply the Galdur look to the whole game.
Added
- Minecraft 1.20.1 (Forge, Fabric) and 26.3 (NeoForge, Fabric), besides 1.21.1. The API is the same. On 26.3, render methods take a
GuiGraphicsExtractor, which is Minecraft's new name forGuiGraphics. No EMI integration on 26.3 until EMI is released for it. GaldurBridgerestyles a mod's existing screens with one call per screen class or package, without changing their code. Buttons, text fields, checkboxes and sliders use the Galdur theme, and container screens can also get the Galdur panel and slot frames.- "Galdur look on every menu" setting (
restyleAll, off by default). It applies the look to every menu in the game, including vanilla and other mods' menus, the player inventory and the creative inventory. "Excluded menus" (excludedScreens) skips the ones you pick. - "Where to use the style…" lets the player turn each part of the look on or off for the whole game, the vanilla inventories or menus, one mod, or one screen (
config/galdurui-style.json). Mods can lock a part withGaldurBridge.lockandlockTheme. Modpacks can do the same with a"locked"section in that file. - Theme editor in game ("Edit the theme…" in the Galdur UI settings), with live preview, one colour per element (
GaldurTheme.paint(key), which returns aGaldurPaint) and gradients of up to four colours, also available intheme.json. Saved inconfig/galdurui-theme.json. - Theme sharing: copy a theme to paste in a message, paste one, or load a saved or dropped file. "Galdur theme" goes back to the default theme and keeps the previous one as a backup.
GaldurStack, a row or column of elements with a fixed gap. Use it instead ofLinearLayout, which works differently in 1.20.1.GaldurWidget, the base class of the Galdur widgets, with the same mouse and keyboard methods on every Minecraft version.
Changed
- The project is built with Stonecutter. All the code is in
src/and thecommon,neoforge,fabricandforgemodules are gone. Artifact versions now end with the Minecraft version (galdurui-neoforge:1.1.0+1.21.1). The API does not change. Gradle 9.9 runs on Java 25. - The Galdur widgets extend
GaldurWidgetinstead ofAbstractWidget. - NeoForge opens the same settings screen as Fabric and Forge, theme editor included, instead of its generic config screen. The settings screens use the Galdur widgets with the default theme, so they stay readable.
- Titles use the Minecraft font again.
GaldurFontsis deprecated:title(text)returns the text unchanged, and the Fredoka font is no longer in the jar. - The config files explain each setting in English and in French.
This mod has no additional files

