promotional bannermobile promotional banner

Code Defined Gui

A Minecraft mod that allows other mods to define GUIs in code - without the need to create the full layout in an image editor.
Example GUI: Item Attribute Filter

Example GUI: Item Attribute Filter

Example GUI: Item List Filter

Example GUI: Item List Filter

A more elaborate GUI from occultism. It uses mostly builtin sprites, plus some additional button sprites.

A more elaborate GUI from occultism. It uses mostly builtin sprites, plus some additional button sprites.

A GUI made in occultism using CDG. This uses only CDG resources + the builtin tinting mechanism.

A GUI made in occultism using CDG. This uses only CDG resources + the builtin tinting mechanism.

Description

GUIs made easy

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.

License & Use in Modpacks

Code Defined GUI is licensed under the MIT License (Source Code) and CC-BY-4.0 (Assets). See https://github.com/klikli-dev/code-defined-gui#licensing for detailed information.

Use in modpacks is allowed without restrictions, as long as the conditions of the MIT and CC-BY-4.0 licenses are fulfilled. You can consider these requirements fulfilled by linking to this page in your modpack.

If you create the modpack on curseforge a link will be automatically created in the files sections, you do not need to add a manual link. 

Feedback, Bug reports or Questions?

Join our Discord!  

Alternative link: https://discord.gg/trE4SHRXvb

The Code Defined Gui Team

profile avatar
Owner
  • 60
    Followers
  • 13
    Projects
  • 169.2M
    Downloads

More from kli_kliView all

  • Occultism project image

    Occultism

    • 60.8M
    • Mods

    A magic mod inspired by the world of Jonathan Stroud's Bartimaeus. With the help of occult rituals players can summon entities from the "Other Side" to perform magic.

    • 60.8M
    • June 15, 2026
    • Mods
    • +3
  • Modonomicon project image

    Modonomicon

    • 54.5M
    • Mods

    Data-driven minecraft in-game documentation with progress visualization.

    • 54.5M
    • June 10, 2026
    • Mods
    • +2
  • Theurgy project image

    Theurgy

    • 26.1M
    • Mods

    An open-source magic mod built around classical alchemy to replicate and transmute matter, and create magical artifacts.

    • 26.1M
    • June 2, 2026
    • Mods
    • +2
  • Magic Particles Lib project image

    Magic Particles Lib

    • 41
    • Mods

    A Minecraft library mod for reusable magic particles.

    • 41
    • May 27, 2026
    • Mods
    • +1
  • Occultism project image

    Occultism

    • 60.8M
    • Mods

    A magic mod inspired by the world of Jonathan Stroud's Bartimaeus. With the help of occult rituals players can summon entities from the "Other Side" to perform magic.

    • 60.8M
    • June 15, 2026
    • Mods
    • +3
  • Modonomicon project image

    Modonomicon

    • 54.5M
    • Mods

    Data-driven minecraft in-game documentation with progress visualization.

    • 54.5M
    • June 10, 2026
    • Mods
    • +2
  • Theurgy project image

    Theurgy

    • 26.1M
    • Mods

    An open-source magic mod built around classical alchemy to replicate and transmute matter, and create magical artifacts.

    • 26.1M
    • June 2, 2026
    • Mods
    • +2
  • Magic Particles Lib project image

    Magic Particles Lib

    • 41
    • Mods

    A Minecraft library mod for reusable magic particles.

    • 41
    • May 27, 2026
    • Mods
    • +1