For players and modpack creators who want to tweak how custom menus look, EasyGui Mod builds entire screen layouts from simple JSON template files rather than locking everything away. If a mod using EasyGui exposes its layout files in your profile folder or a resource pack, you can edit them to rearrange the interface.
Understanding Parent-Child Layouts
Before editing a layout file, it helps to know how EasyGui organizes elements on screen:
- Linked Elements: UI parts use a parent-child system. Every child element is attached to a parent piece.
- Automatic Movement: When you move, rotate, or resize a parent element in the JSON file, all of its child elements automatically shift, turn, and scale along with it.
- Automatic Rotation: You do not need to manually recalculate angles when moving parts around; the mod calculates rotation angles automatically whenever elements shift on screen.
Editing a JSON Layout File
1. Open your Minecraft game folder and look inside your configuration or resource pack directories for the .json screen files belonging to your mod.
2. Open the JSON file in any plain text editor.
3. Locate the prebuilt interface parts and adjust the position or scale of the main parent container to shift the whole group at once.
4. Save the file and reload your resources in-game to check the alignment.