promotional bannermobile promotional banner

MasuGUI

Data-driven GUI library: JSON or Java menus in the painted Vault Ledger look (Ledger and Ledger Night themes), a vanilla chest fallback for players without it, and a theme API for other mods.

MasuGUI

Data-driven server-side GUI library for Forge 1.18.2, drawn in the painted Vault Ledger look on clients that have it, with a vanilla chest fallback for clients that do not.

Personal-use release This mod is published primarily for my own projects. No support is provided. No issue tracker, no feature requests, no help with integration. Use entirely at your own risk.


What it does

MasuGUI lets other mods build rich GUIs that render as custom screens on clients with the mod installed, and transparently fall back to vanilla container menus for players without it. Single JAR. One API. Two experiences from the same definition.

  • Client has MasuGUI: a custom screen in the Vault Ledger look (wood frame, parchment body, painted buttons, switches, sliders and icons).
  • Client does not have MasuGUI: a vanilla container (chest, hopper, anvil, merchant and more) with the same interactive elements.

The look

  • Two themes: Ledger (light parchment) and Ledger Night (dark walnut). Players switch with the sun/moon button in any MasuGUI window header or in the /masugui settings menu; the choice is saved per client.
  • Player settings menu (1.4.0+): /masugui opens Theme, Boss bars and Menus (plus Player list with MasuTab). Boss bars, Menus and Player list switch between MasuGUI and Vanilla; Menus: Vanilla opens every MasuGUI menu as a plain chest menu, on every server and after restarts.
  • Painted art: hand-painted HD widget kit (frames, buttons, chips, wells, switches, checkboxes, scrollbars, banners) and icons (gear, star, hourglass, coin, crown, live dot, lock, grip, signal bars, carets, shop).
  • Themed boss bars: servers can style boss bars to match the theme; players can keep vanilla bars instead.

Highlights

  • 14 element types: Panel, Label, Button, TextField, ItemGrid, ItemDisplay, Divider, ProgressBar, Image, ScrollPanel, Checkbox, Slider, TabBar, Dropdown, PlayerHead
  • JSON-driven layouts: define GUIs in config/<modId>/gui/<name>/Enhanced.json and Fallback.json
  • Hot reload: /masugui reload [modId] reloads templates without a restart
  • In-game editor: /masugui editor <modId> <guiName> edits a GUI visually
  • Animations: 6 easing functions, 8 animated properties, 3 play modes, all definable in JSON
  • Remote textures: any texture field accepts a URL; downloaded async and cached to disk
  • 18 vanilla fallback container types: chest sizes, hopper, dispenser, anvil, smithing, furnace, brewing, merchant, beacon and more
  • Container slot redirects: real interactive inventory slots in fallback mode with drag and drop
  • Cursor item system: pick-up/place item interaction in enhanced mode
  • GUI Effects API: server-triggered cell animations (pulse, flash, bounce, fade out, scale up), client-side sounds, fullscreen reward reveals
  • Quark protection: a mixin blocks unwanted inventory transfers
  • Auto-close: configurable distance, dimension change and death detection
  • Client theme API (1.3.0+): other mods draw their own screens and HUD elements in the MasuGUI theme (com.masuary.masugui.client.api): the player's current theme, windows, surfaces, buttons, icons and themed text, with a change listener. MasuTab 3.0 is drawn with it.

Element reference

Element Purpose Interactive
Panel Background rect with gradient, nine-slice, border No
Label Text with wrapping, centering, scaling, shadow No
Button Clickable with gradient, hover lerp, click sound Yes
TextField Real text input via EditBox Yes
ItemGrid Item grid with client-side scrolling, scrollbar Yes
ItemDisplay Single item with tooltip override Yes
Divider Horizontal/vertical separator No
ProgressBar Fill bar with gradient, label, smooth lerp No
Image Texture rendering with UV support (local or URL) No
ScrollPanel Scrollable container with scissor clipping Yes
Checkbox Toggle with label Yes
Slider Draggable value selector with range Yes
TabBar Tab switcher with active state Yes
Dropdown Expandable option list Yes
PlayerHead Player skull from skin texture (supports skinUrl) No

For mod developers

MasuGUI is a library mod. It has no in-game content on its own. It provides an API for other mods to define GUIs once and have them render either as a custom screen or as a vanilla chest menu depending on the client.

Two ways to define a GUI:

  1. Java builder API: MasuGui.builder("my_gui").size(300, 200).add(...).open(player);
  2. JSON templates: layout files in the config folder with variables, data providers and named action handlers

Run /masugui test in game with the mod installed to explore the demo GUIs covering shops, settings, profiles, scrolling, merchants and confirmations.


Commands

  • /masugui: your settings menu (every player, client 1.4.0+)

Every other command needs OP level 2:

  • /masugui test: open the demo hub
  • /masugui theme ledger|ledger_night|auto, /masugui bossbar enhanced|vanilla: change a client setting by command
  • /masugui fallback: preview chest rendering until you log out
  • /masugui reload [modId]: hot-reload JSON GUI templates
  • /masugui editor <modId> <guiName>: in-game visual GUI editor
  • /masugui validate [modId]: check every installed GUI
  • /masugui status: show client mod detection, the fallback flag and the menus choice

Requirements

  • Minecraft 1.18.2
  • Forge 40.2.28 or newer
  • Java 17

Optional: Quark (compile-time only, for the inventory transfer protection mixin)


Installation

  1. Install Forge 1.18.2
  2. Drop the JAR into your mods/ folder
  3. Install on both server and clients. Clients without it still work, but see chest-based fallback GUIs instead of the enhanced screens.

License

All Rights Reserved. You may use this mod in modpacks and on servers. You may not redistribute, decompile, or rehost this JAR without permission.


Reminder: this is a personal-use release. No support, no issue tracker, no PRs accepted. If it works for you, great. If it does not, you are on your own.

MasuGUI Team

profile avatar
Owner
  • 9
    Projects
  • 71.9K
    Downloads

More from MasuaryView all

  • MasuTab project image

    MasuTab

    A network-wide player list that never stops you moving: server groups, columns you choose, browse mode with player actions, layout editor, MasuGUI look.

    • 15.6K
    • November 29, 2026
  • MasuHolograms | Server-Side Holograms project image

    MasuHolograms | Server-Side Holograms

    Server-side holograms for Forge 1.18.2, no client mod: text, items, heads, entities and Taterzens NPCs with pages, click actions, placeholders, animations and lectern holograms for players.

    • 180
    • November 23, 2026
  • MasuPlots project image

    MasuPlots

    MasuPlots adds admin-defined polygon plots to your hub world. Players buy, build, and run shops. Automatic protection, gamemode switching, upkeep billing, and repossession. Works with Lightman's Currency and Vault Hunters.

    • 17.5K
    • November 16, 2026
  • Immersive Portals for Vault Hunters project image

    Immersive Portals for Vault Hunters

    Unofficial Immersive Portals fork for Vault Hunters 3 (Remastered 3.0.1, 3.21.7 and Wold's Vaults 0.34.2, Forge 1.18.2): see-through vault portals that keep Vault Hunters' own rules, plus the fixes the packs need.

    • 150
    • November 11, 2026
  • MasuTab project image

    MasuTab

    A network-wide player list that never stops you moving: server groups, columns you choose, browse mode with player actions, layout editor, MasuGUI look.

    • 15.6K
    • November 29, 2026
  • MasuHolograms | Server-Side Holograms project image

    MasuHolograms | Server-Side Holograms

    Server-side holograms for Forge 1.18.2, no client mod: text, items, heads, entities and Taterzens NPCs with pages, click actions, placeholders, animations and lectern holograms for players.

    • 180
    • November 23, 2026
  • MasuPlots project image

    MasuPlots

    MasuPlots adds admin-defined polygon plots to your hub world. Players buy, build, and run shops. Automatic protection, gamemode switching, upkeep billing, and repossession. Works with Lightman's Currency and Vault Hunters.

    • 17.5K
    • November 16, 2026
  • Immersive Portals for Vault Hunters project image

    Immersive Portals for Vault Hunters

    Unofficial Immersive Portals fork for Vault Hunters 3 (Remastered 3.0.1, 3.21.7 and Wold's Vaults 0.34.2, Forge 1.18.2): see-through vault portals that keep Vault Hunters' own rules, plus the fixes the packs need.

    • 150
    • November 11, 2026