Skip to main content

Exported Project Templates

When you finish building a project in CCraft Studio, you export it to a set of Lua files that run directly inside the CC: Tweaked Minecraft mod (or in CraftOS-PC).

This section is a map of the export. Start here to choose a mode, then dive into the page for that mode. For a file‑by‑file breakdown of what lands on disk, see the Generated File Reference.

You open the export window from the toolbar. It lets you pick an export mode, toggle a couple of options, preview every file, and write them to a folder.

Export modes

CCraft Studio exports a project in one of three modes. Each mode decides which files are generated and how startup.lua ends.

ModeIn‑app labelWhat it includesBest for
Full ExportFull ExportUI rendering + block logic + the interactive event loopA finished, ready‑to‑run app
UI Only ExportUI OnlyUI rendering only — screens are drawn once, no logic and no event loopDesigners who want to write their own Lua logic
Logic Only ExportCode OnlyBlock logic only — no UI components and no screen drawingHeadless programs (turtles, redstone controllers, network nodes)

Which files each mode writes:

Folder / fileFullUI OnlyLogic Only
components/*
screens/*
logic/*
utils/vars.lua
utils/functions.lua
startup.lua
Ends withevent loopdrawScreens()logic loop

What each of those files actually contains is documented once in the Generated File Reference.

Export options

Two checkboxes change the shape of the output without changing the mode you picked:

  • Minify output — strips comments and extra whitespace for a smaller, identical program.
  • All‑In‑One File — combines everything into a single paste‑able startup.lua.

Both are explained in detail in Generated File Reference → Export options.

Next steps