La documentazione tecnica è disponibile in inglese. Code and field names follow the current Mod API.
DOCUMENTAZIONE DI MODIFICA
JSON Content Starter
A standalone pack with a weapon, furniture, and a creature. No Java, JDK, other mod, or new artwork is required. Includes names in all thirteen supported languages.
Install
- Copy this entire folder to
mods/content_starterin the game's user-data directory. - Open Mods, choose Refresh, enable
content_starter, and choose Apply & reload. - Start a new Meadows test world. The pack declares
requiresNewWorld: truefor its initial spawns.
Files to edit
| File | Adds | Check in game |
|---|---|---|
| data/weapon.json | Practice Spear: copied stone-spear icon, equipment damage 3, copied crafting recipe | Discover the normal stone-spear ingredients/station, craft the new recipe, and inspect the result |
| data/furniture.json | Decorative Chair: copied chair art/crafting, decoration value 2 and radius 2 | Craft and place it; inspect all four rotations |
| data/creature.json | Meadow Cat: copied mountain-lion behavior/art, level 2, requests two initial spawns on Meadows grass/dirt | Explore a new Meadows world; initial placement depends on available valid tiles |
| mod.json | Ordered patch list and translation paths | Confirm no code entry or dependency is needed |
The creature retains the mountain lion's behavior and selectors. It has no added migration/birth profile. Creature definitions do not create recruitable unit archetypes. The weapon reuses existing systems; an inventory icon does not add a new held-weapon animation.
Keep only one example
- Keep only the required path in
mod.json'spatchesarray. - Keep the translation catalogs. Unused names are harmless.
- If you remove
data/creature.json, you may setrequiresNewWorldtofalse; use a test world. - Apply and reload after each edit.
For your own released pack, change the folder, manifest ID, every content_starter: identity,
and mods.content_starter. translation keys together. Keep IDs stable after release.
