FORGOTTEN TOWNS

FORGOTTEN TOWNS / МОДИНГОВАЯ ДОКУМЕНТАЦИЯ

Моддинг вики ↗

Java Ссылка на API (Javadoc)

MOD API 15

Просмотрите вики

Текущая документация API модов.

Техническая документация доступна на английском языке. Имена кода и полей соответствуют текущему Mod API.

МОДИНГОВАЯ ДОКУМЕНТАЦИЯ

JSON documentation coverage

The mod API supports JSON-only content, but the documentation is not a complete JSON Schema for every game file. This page records what can be relied on and what still needs work.

Available references

Reference What it guarantees
Registry list Supported entry points and operations
Generated field index Every top-level key and every nested/type/choice path declared by the loader's field contract
Field explanations Authoring rules, units, defaults, and links for the content registries
Creature explanations Detailed creature settings, inherited defaults, and spawn groups
Base IDs IDs rebuilt from shipped catalogs; runtime-generated IDs are not all included
Scenario guide Separate owned scenario-addition contract and example

The generator does not infer mod support from every field found in the base game. For example, the runtime has equipment attributeBonus, weaponStyle, and meleeLightning settings which the mod field allowlist does not currently expose for direct editing.

Remaining gaps

Area Current coverage Remaining work
Resources, recipes, essences, transforms, particles Detailed prose; exact top-level allowlist Encode all nested types, ranges, and defaults in a shared schema
Placeables Detailed prose; only capabilities, storage, and workstation range have nested contract checks Cover sprites, slots, ingredients, particles, and crafted-item metadata in the machine contract
Families, food, equipment, features, creatures, loot Nested field/type contract; selected enum checks; prose explanations Make every accepted enum, conditional rule, bound, and effective default explicit
Difficulty and respawns Dedicated authoring guide; top-level allowlist Complete machine-readable nested schema
Existing lessons and scenarios Restricted composition routes and native content validation A complete per-operation schema/reference for every objective and scene operation

A successful parse is not proof that an undocumented field had an effect. Some legacy nested parsers ignore unknown keys. Check the documented spelling and verify behavior in a test world.