ModsFinder
DL

ducky lib

by cokie1479

ducky lib is a Forge library for building GUI screens from TOML layout files, with an in-game visual editor and a theme system.

ForgeClient and serverAll rights reserved1.20.1

What it does

Screens are defined in TOML files rather than written as Java GUI code. A layout lists the built-in widgets it uses, including Button, Label, TextField, Slider, Checkbox, Dropdown, Panel and ScrollPanel, and a mod opens the finished screen with a short call once the layout is loaded.

An in-game visual editor lets a designer place and adjust widgets while the game runs. A property panel and a widget selector handle live edits, and the custom theme system applies consistent styling across screens. Theme files are hot-reloadable, so changes show up without restarting the game.

The library is designed for use as a dependency of other Forge 1.20.1 mods. It is published for Forge only, targets 1.20.1, and runs on client and server. Its license is All rights reserved, so it is not open source, though the source code and issue tracker are public.

Key features

  1. TOML-defined GUI layouts

    Screens are described in TOML files, so their structure can be read and edited outside the Java source.

  2. Built-in widgets

    Button, Label, TextField, Slider, Checkbox, Dropdown, Panel and ScrollPanel are provided and can be combined in one layout.

  3. Custom theme system

    Theme files control the look of widgets and can be reloaded while the game is running.

  4. In-game visual editor

    A property panel and widget selector let a designer change a layout live, without rebuilding the project.

Compatibility

Latest build for each game version and loader.

No stable releases
Every published file is a beta or alpha build.
1.20.11.4.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Mod settings screens

A mod can present its configuration through a TOML layout instead of hand-coded widgets.

Prototyping interfaces

A designer can arrange widgets in the visual editor and adjust them until the screen works.

Who it’s for: Forge mod developers who want to build interface screens without writing GUI code by hand, and players who run mods that depend on the library.

Questions

Does ducky lib need to be installed on both sides?

Yes. Servers that run it need every player to install it too.

Which loader and game version does ducky lib support?

It is published for Forge only, and the only game version listed is 1.20.1. The latest Forge file is 1.4.0, released on 2026-07-14 in the alpha channel.

Is the source code of ducky lib available?

Source code and an issue tracker are public, but the license is All rights reserved, so the code is not open source.

In the catalog

ducky lib is one of 3,514 Library mods on ModsFinder, and one of 1,576 Library mods for Forge. 34,764 mods support Minecraft 1.20.1.

More from cokie1479

All projects

Similar mods

What the author says

A GUI lib with TOML-based layouts and an in-game editor. DuckyLib is a GUI framework i used in my mods. Design screens using TOML files or use the built-in visual editor.
cokie1479, on the Modrinth page

Official listing

Owner
cokie1479
Published
2026-07-11
Updated on Modrinth
2026-07-14
Facts verified
2026-10-15

Tags