kubejs_structure_preview
by 2197716317
With KubeJS Structure Preview installed, a developer can see a custom KubeJS structure drawn in the world before placing it, as a semi-transparent ghost over the terrain.
What it does
The mod is a KubeJS 6 accessory module that renders .nbt structure files in real time as translucent ghost blocks, inside a translucent texture box. It is aimed at pack developers who build multiblock designs and blueprints and want to check their placement while scripting, and players can use it to see what a structure will look like before they build it. The preview is shown only in the world; the structure is not placed.
The module is driven by KubeJS server scripts. A script selects a structure, for example a vanilla igloo template named minecraft:igloo/top, and the player right-clicks a block with a stick to render its ghost preview. Ctrl with the scroll wheel rotates the preview through none, clockwise 90, clockwise 180 and counterclockwise 90 positions, and right-clicking again toggles the preview off.
Installation needs KubeJS, which is required. The mod is published for Forge only, with a single game version, 1.20.1, and the latest file is 1.0.0-Forge1.20.1 from 2026-06-20. The server and every player need the mod installed. Its code is under the BSD 2-Clause License and is not open source.
Key features
Real-time structure preview
Renders .nbt structure files as semi-transparent ghost blocks while the player moves around the world.
Scripted structure selection
Server scripts choose which structure to show, so a developer can preview custom KubeJS structures during development.
Rotation and toggle
Ctrl with the scroll wheel cycles the preview through four rotations, and a second right-click hides it again.
Translucent texture box
The preview sits inside a translucent box that marks the footprint of the structure against the terrain.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
How it compares
Trim Preview is client-side only and is published for Forge 1.20.1 – 1.20.6 under All rights reserved, so it does not need a server install. FrameShift is a Forge client and server mod for 1.20.1 under the MIT License, and it is not open source. Vertical Slabs is open source under the Apache License 2.0 and covers 1.20.2 – 26.3 on four loaders, but it is server required with the client optional, so it differs in environment and version range from this mod.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| kubejs_structure_preview | Forge | 1.20.1 | Client and server | 2026-06-20 |
| Trim Preview | Forge | 1.20.1 – 1.20.6 | Client-side only | 2026-07-16 |
| FrameShift | Forge | 1.20.1 | Client and server | 2026-03-28 |
| Vertical Slabs | Fabric, Forge, NeoForge and Quilt | 1.20.2 – 26.3 | Server required, client optional | 2026-10-01 |
Questions
Does KubeJS Structure Preview need KubeJS?
Does the server need the mod installed?
Which Minecraft version does the mod support?
In the catalog
kubejs_structure_preview is one of 12,078 Decoration mods on ModsFinder, and one of 6,149 Decoration mods for Forge. 34,764 mods support Minecraft 1.20.1.
Similar mods
What the author says
StructurePreview.show("minecraft:igloo/top", x, y, z) StructurePreview.show("minecraft:end_city/ship", x, y, z, "clockwise_90", 0.7)
Official listing
- Modrinth page
- modrinth.com/mod/kubejs_structure_preview
- Owner
- 2197716317
- Published
- 2026-06-03
- Updated on Modrinth
- 2026-06-20
- Facts verified
- 2026-10-15
