Wiki 9Minecraft Wiki 9Minecraft
Code Defined Gui Mod Wiki

Code Defined Gui Mod Wiki & Guide

wiki.9minecraft.net/code-defined-gui-mod/

The community wiki and guide for Code Defined Gui Mod.

Guides

Step-by-step, in-game.

Frequently asked questions

How do I start making my first GUI screen with this mod?
Begin by creating a new screen class and use the mod's code-based layout system to define your menu structure through code instead of image files. The mod provides builder methods and helper functions to position elements, set sizes, and attach them to your screen—check the example screens included with the mod to see the basic pattern.
Can I use this mod to replace static background images with code-drawn layouts?
Yes, that's the core purpose of this mod. Instead of creating menu backgrounds in an image editor, you define the entire layout in code using built-in sprite parts and positioning calls, which eliminates the need for pre-drawn texture files.
What built-in textures and sprites does this mod provide?
The mod includes a library of standard GUI sprite parts (borders, panels, buttons, slots, and decorative elements) that you can combine and color-tint to create different visual styles without needing custom artwork.
How do I change colors and apply tinting to GUI elements?
The mod provides color and tinting parameters on most elements—you can pass RGB or hex color values directly in your code to recolor built-in sprites and adjust their appearance without creating new texture files.

See all 10 Code Defined Gui questions ›