Your first mod
Make Stone stack to 24. This exercise needs a text editor and the game, with no JDK or source checkout. Use a new test world when trying your own balance changes.
1. Create a folder
Open Mods → Open mods folder and create stone_stacks there. On Windows the parent is
normally %LOCALAPPDATA%\ForgottenTowns\mods. The final layout is:
mods/
stone_stacks/
mod.json
resources.json
2. Describe the pack
Save this as mod.json:
{
"id": "stone_stacks",
"version": "1.0.0",
"contentApi": 14,
"dependencies": {},
"patches": ["resources.json"],
"translations": {}
}
The folder and manifest ID must match. IDs use 2-64 lowercase letters, digits and underscores, starting with a letter. The version has three numeric parts. Patch files run in the listed order.
3. Change one field
Save this as resources.json:
[
{
"registry": "resources",
"op": "patch",
"id": "stone",
"values": { "stackSize": 24 }
}
]
patch changes an existing definition. The omitted fields retain their existing values.
No translations are needed because this exercise adds no player-facing label.
4. Enable and check it
Open Mods → Installed mods → Refresh. Select stone_stacks, enable it, then choose
Apply & reload. In a test world, observe Stone storage/stack behaviour.
Validation checks the content structure; playing the example checks its intended effect.
For a source checkout, the equivalent headless check is:
.\gradlew.bat --no-daemon validateMods
The installed game also accepts --validate-mods; the SDK does not contain a standalone game validator.
5. Share the pack
Distribute the stone_stacks folder. Do not include the player's enabled.json, build output,
editor settings or source-control files. List the tested game version in a README.
Saves record this pack's version and bytes as diagnostic fingerprints. Updates may load after content and save-restoration checks; see compatibility. Keep an original release copy before changing it. Read the update rules.
Add your own content next
Choose one guide: weapon, furniture, or creature. Each uses the standalone JSON Content Starter, without a JDK or Java dependency.
Use the registry list to choose the right file type, and the field index to check accepted keys.