Examples¶
Each example includes a runnable Python script and resulting files. You can also download all example scripts.
Existing builds¶
Importing a farm uses a downloaded Litematica moss farm by OpenBagTwo, based on a design by maidofmoss. It includes attribution and a report of the farm's blocks, inventories, and render diagnostics. The other workflows use a supplied workshop so you can compare your results with the downloads.
| Example | Outcome |
|---|---|
| Importing a farm | Inspect a real farm and render a preview. |
| Litematica to WorldEdit | Flatten regions and review losses before saving a Sponge schematic. |
| Litematica to structure NBT | Export a Java structure and inspect retained contents. |
| Batch conversion | Convert a directory with a result recorded for each file. |
| Rotate a schematic | Save rotated positions and directional states. |
| Layer diagrams | Export numbered sprite images with global Y coordinates. |
Materials¶
| Example | Outcome |
|---|---|
| Replace blocks | Change one material throughout a build. |
| Restyle a workshop | Apply a reusable JSON palette profile. |
| Material lists | Export construction quantities as CSV and JSON. |
| Raw ingredients | Expand construction items into crafting ingredients. |
| Palette costs | Compare ingredient requirements and priced totals before and after a restyle. |
Generated builds¶
The Eiffel Tower follows a building brief through an agent-written Python generator. Run it to reproduce the tower, read its validation report, or change the geometry and palette. The other generators build scenes from block placement and sampled terrain or geometry.
| Example | Outcome |
|---|---|
| Eiffel Tower | Reproduce an agent-created tower and inspect its validation report. |
| Island banner | Build an island around block lettering with structures and animals. |
| Jade mountain scroll | Generate seeded mountains with trees, waterfalls, and a pavilion. |
| Rainbow reef | Sample a gyroid surface and color its outer shell. |