-
Notifications
You must be signed in to change notification settings - Fork 0
Blueprints & Tooling
DarkBladeDev edited this page May 10, 2026
·
1 revision
Building complex multiblocks can be challenging. MultiBlockEngine provides a suite of tools and a Blueprint system to guide players and provide interactive previews.
A Blueprint is an item that, when held, allows a player to see a "ghost" version of a multiblock in the world.
-
Visual Previews: Uses
BlockDisplayentities (1.19.4+) to render a non-solid preview of the structure. - Rotation Support: Preview automatically rotates as the player turns.
- Validation: Highlights incorrect or missing blocks in real-time (Red/Green overlay).
- Auto-Build: (Optional) In creative mode or with specific permissions, allows "pasting" the structure.
Admins can give blueprints using:
/mbe blueprint give <id>
The Wrench is the primary interaction tool for MultiBlockEngine.
- Assembly: Right-click the controller to assemble a structure.
- Deconstruction: Shift+Right-click to safely deconstruct and recover items.
- Configuration: Use on specific ports to change their mode (e.g., Input to Output).
- Diagnostics: Shift+Left-click to see a debug report of the multiblock.
Used specifically for the Wiring System.
- Disconnect: Right-click on a cable connection to break the link.
- Split: Break a cable to divide a network into two.
You can define how a multiblock reacts to tools:
id: my_machine
assembly:
trigger: WRENCH_USE # Default
on_interact:
- type: conditional
conditions:
- type: item_in_hand
material: MBE_WRENCH # Custom item check
then:
- type: open_panel
panel: "config_panel"To trigger previews or handle custom tool logic:
@InjectService
private BlueprintService blueprintService;
public void showPreview(Player player, String typeId, Location loc) {
blueprintService.startPreviewSession(player, typeId, loc);
}