A data-driven UI mod for Minecraft using Fabric.
Ever wanted to create a menu in your datapack and had enough of writing a mess of a code for it?
Would you like something more intuitive and complete than /trigger?
Declarative UI brings the familiar features of large server networks into simple, lightweight datapacks.
- Define commands, menus, and containers using clean JSON files inside your datapack
- Use
/item (modify|replace) containerfor command modification of player stored containers - Use
/declarative_ui open <targets> <menu>to open a menu - Find Declarative UI Generators on Modded Generators: https://misode.cj4.eu/partners/
- Place your JSON files in
data/<namespace>/declarative_ui/(command|menu|container)
You can also download the .mcdoc and commands.json files for Spyglass here: https://cdn.modrinth.com/data/5UTWPtx3/versions/v9eBhllw/spyglass.zip