Upload .png images (picker or drag & drop anywhere). In a Button's properties (under Notes) pick one as the icon — the exported .mcaddon bundles them into the Resource Pack so ActionFormData.button("…", "textures/images/…") shows them in-game.
🛠️
Design your Script UI visually
Drag Trigger → Form → Controls → Actions onto the canvas and connect the ports with wires.
⬇ Drop to add this element
🖱️ drag to pan🔍 scroll / pinch to zoom
Live Preview
▸ Game output
Preview (left) & Game output (right) side by side — pressing buttons in the preview redirects to the form pages you wired with Open Form.
Generated Script
🧱
Nothing to generate yet.
Place a Trigger node, connect it to a Form, then wire controls & actions. The code
produced uses @minecraft/server-ui and runs in a behavior pack's scripts folder.
BETA API needed: after importing the .mcaddon, open its Behavior Pack settings in Minecraft and enable Beta APIs — the script uses @minecraft/server-ui.
🛠️ How to use DYNACROWN VISUAL SCRIPT UI EDITOR
1 · Build the flow
Drag elements from the left library onto the blueprint, or click one to drop it in the center.
Trigger — when the UI opens (chat command, item use, player join).
Actions — what happens after submit: send message, run command, give item, effect, sound, or a condition gate.
2 · Connect with wires
Drag from a node's output port (⭘) to another node's input port to connect them.
Trigger → Form opens the form when triggered.
Form → controls and controls chain next → next (top-to-bottom order = form order).
Form's submit ⭘ connects to actions that run after the player submits. Fan several actions in.
Action button ⭘ connects to actions for that button.
Click a wire to select it; press Delete to remove it.
3 · Export
Hit ⚡ Generate Script and pick Copy TypeScript or Copy JavaScript. Paste the code into
your behavior pack at BP/scripts/main.ts (or main.js) and register it in
manifest.json.
Ctrl+Z undo · Ctrl+Y redo · Del delete · F fit view · Esc deselect
Are you sure?
Workspace Guide
The workspace is a flow diagram. Build left → right: Trigger opens a Form, controls chain from the form, and actions run when the player presses a button. Everything below is what you see on screen.
🧭 The screen (5 zones)
Top toolbar — New / Import / Export, undo-redo, search, Grid & Snap, Preview toggle, Tutorial & Guide.
Left — Element Library — click or drag nodes onto the canvas.
Center — the blue blueprint — your canvas. Drag to pan, scroll/pinch to zoom.
Right — Properties — click a node to edit it here.
Bottom — Live Preview + Game output — side by side.
🔌 Connecting (read this!)
Drag from an output port ⭘ to an input port ⭘ — or tap a port, then tap the target.
Ports can hold multiple wires. After a tap-connection the mode stays on: tap more targets to add 2, 3, 4 wires, then tap empty space to finish. Gray numbered badges show how many wires a port has.
Fan-out from an Action runs all branches in order. Multiple Triggers can open the same form.
🛤️ The road (7 steps)
Trigger — when the UI opens (item use, chat, join, timer).
Form — Modal (inputs) / Action (buttons) / Message (yes/no).
Controls — chain them from the form: button, toggle, slider, dropdown, search, text, label, header, divider.
Actions — connect a form's submit or a button's output: message, command, effect, give, sound, title, teleport, condition, delay.
Open Form (pages!) — connect this to a button, pick a target form in Properties, and the button redirects to that form — like pages of a menu. The preview board switches pages when you press it.
Live Preview — try the form, watch the Game output column trace every action.
Generate Script — copy TypeScript or JavaScript, or download .mcaddon.
🎯 Pro tips
Confused right now? Press ▶ Guided tour below — arrows point at each button on screen.
Advanced mode (Settings) swaps the canvas for a Code Editor + Preview Board + Game Output.
More detailed guides live in the Tutorial Page repository.
Minecraft theme also sets the Minecraft wallpaper on the homepage (picked automatically for your device), plays the Minecraft song there (audio/minecraft-theme.mp3) and adds click sounds.
Saturation
100%
Experience Mode
Advanced hides the visual editor — only Code Editor, Preview Board and Game Output remain.
Preview Board Background
Choose the Minecraft scene shown behind the live form preview (Tree and Advanced modes). Your choice is saved.