-
Notifications
You must be signed in to change notification settings - Fork 0
Quick Start Tutorial
You'll build a small Airship Controls screen with a Start button that updates a status label and sends a chat message, then try it in Preview and export it for Minecraft. It takes about ten minutes.
- Choose File → New project (Ctrl+N) and type the name
Airship Controls. -
Project settings opens next. Check that Id is
airship_controls(Wysicraft derives it from the name), then click Apply. The Id is lowercase letters, numbers and underscores. It becomes the in-game command:/airship_controls.open. You can change it later under Project → Project settings…. - Click Screen settings above the canvas. In Properties, change Screen ID from
maintocockpitand press Enter. Change Title toAirship.
- In the Toolbox (top left), drag Panel onto the canvas. Resize it by dragging its corner handles until it covers most of the screen. This is your background.
- Drag a Label onto the panel. In Properties, set Id to
statusand Text toEngine offline. - Drag a Button onto the panel. Set Id to
engine_startand Text toSTART ENGINE. - Select the label and the button together (Shift-click), plus the panel, then right-click and choose Attach to 'panel'. Now they move with the panel. See Panels and parenting.
- Select the button and open the Events tab (next to Properties).
- The
clickevent is shown. Under Client, click + Add action:- Type:
set_text - Target:
status - Value:
Starting...
- Type:
- Under Server, add another action:
- Type:
command - Value / Command:
say Engine start requested
- Type:
Client actions run instantly on the player's screen. Server actions run on the Minecraft server with the player's own permissions. See Events and actions.
- Click Preview in the toolbar (F5).
- Click START ENGINE. The label changes to
Starting..., and the console shows the server command asSIMULATED SERVER. Preview never runs real commands. - Close Preview.
Choose File → Save (Ctrl+S) and save as airship_controls.wysicraftproj. This single file holds your screens, scripts and images. If the editor ever closes unexpectedly, Wysicraft keeps a recovery draft every 30 seconds.
- Click Validate (F7). The Output panel should say Validation passed.
- Click Export… (Ctrl+E), keep Project JAR selected, and save
airship_controls.jar. - Copy the JAR into your Minecraft instance's
modsfolder (Minecraft 1.21.1 with NeoForge 21.1.250+). Nothing else needs to be installed: the Wysicraft runtime is bundled inside the JAR. - Start Minecraft, open a world with cheats enabled, and type
/airship_controls.open.
Your screen opens. Clicking START ENGINE updates the label, and say runs because you have cheats on. Players without permission for a command can't run it through your screen either.
Instead of copying JARs by hand, the Minecraft test window launches a real game straight from the editor, with keys to open and close your screen.
- Make it look good: Properties and appearance
- Make it adapt to window size: Anchors and responsive layouts
- Write logic in JavaScript: Scripting
Wysicraft 1.2 manual · Minecraft 1.21.1 / NeoForge · Home · Keyboard shortcuts · Troubleshooting
Getting started
Designing
- Projects and screens
- Controls
- Canvas editing
- Properties and appearance
- Layers and groups
- Panels and parenting
- Anchors and responsive
- Align and distribute
- Components
- Assets and items
- Item lists
Behavior
Shipping
Extras