FORGOTTEN TOWNS

FORGOTTEN TOWNS / 문서 수정

모딩 위키 ↗

Java API 참조(Javadoc)

MOD API 15

위키 찾아보기

현재 Mod API 문서.

기술 문서는 영어로 제공됩니다. 코드 및 필드 이름은 현재 Mod API를 따릅니다.

문서 수정

Sundering Bench source

This is the gameplay mod's source example. Java hooks live in src/sundering/SunderingMod.java. The extracted SDK places the runtime JSON, translations and artwork in this project's pack/ directory. In the engine repository those files are authored separately under examples/mods/sundering.

From the extracted SDK root, build without the engine source:

.\examples\mod-sdk\build-mod.ps1 -Project .\examples\sundering-mod -ApiJar .\build\mod-sdk\forgotten-towns-mod-api-15.jar -OutputDirectory .\sundering-build

Build from the repository root with ./gradlew.bat --no-daemon assembleSunderingMod. Install the resulting build/mods/sundering folder. See the mod manual for gameplay details.

The assembled folder also includes about/preview.png and descriptions in all thirteen languages. The same folder can ship with the game or stand alone for later Workshop distribution; do not install a second copy under a different ID. Publishing is a separate step. The cover is generated promotional art centered on the station and elemental shards, surrounded by quiet parchment, not a gameplay screenshot.

Presentation files stay outside the gameplay save fingerprint. The settings manifest and gameplay files retain their identities. See covers and descriptions for the authoring convention.

The host conversion panel supports about/ui.json button, modal, row, resource and scrollbar skins. See UI customization.