Wiki: Task Object




Config Specification

Task JSON is defined by MCA. Objects inside tasks must follow the JSON format expected by the task type registered by MCA, you can find the most up to date information on this in the MCA source code for the version you are using.

The below are simply examples.

Task Types: Population

A population task is completed when the village population reaches or exceeds the configured threshold.

Example: { "type": "population", "population": 10 }

Task Types: Building

A building task is completed when the village has the named building.

Example: { "type": "building", "building": "inn" }

Task Types: Reputation

A reputation task is completed when the player reaches or exceeds the configured threshold.

Example: { "type": "reputation", "building": 400 }

Task Types: Advancement

An advancement task is completed when the player unlocks the configured advancement.

Example: { "type": "advancement", "building": "mca:adventure/kill_grim_reaper" }