TrippleAWap/go-mcbe-ui ? reverse-engineered prompt
Reverse engineered prompt
Build me a Go library for creating Minecraft Bedrock Edition JSON UI packs with a clean fluent API.
I want to be able to define screens, panels, labels, images, buttons, sliders, edit boxes, dropdowns, and other UI pieces in code, then generate the JSON files Minecraft expects. The builders should feel type safe, so only valid methods show up for each control type, and invalid combinations are hard to write. Add support for relative sizing and positioning, reusable components like confirm dialogs, shop screens, HUD bars, inventory, crafting, and minimaps, plus bindings and simple animations.
I also need a registry that can collect screens, connect navigation between them, validate links and references, and export a full pack with the right metadata and UI definition files. If possible, include helpers for loading existing UI JSON files back in, and make validation catch common mistakes before pack generation. Please keep the code simple to use, with a few examples showing how to build a screen and generate a pack.
Are you gonna build this?
make sure you review the code using arcumet