omni_mod_scaffold
Write a Forge 1.20.1 mod folder to disk from a JSON spec, generating the exact mod files and assets needed for OmniMod to read and use.
Instructions
Write a Forge 1.20.1-shaped mod folder to disk. Output is a folder (not a ZIP) — zip it yourself before omni_mod_add, or stage it via the folder mod path on the engine side. Every JSON key written is one the engine actually reads (see scaffold.ts comments).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| outDir | Yes | Absolute path of an empty directory to create the mod in. |