Configuration
All quests are defined in a single quests.json file. Adding, removing, or editing quests does not require recompiling the mod.
#Where the file lives
The quest data is stored with the mod's configuration data in your Minecraft instance. On a server, it is the server copy that controls the quests players see.
#What a quest contains
A typical quest definition includes:
| Field | Purpose |
|---|---|
| Type | Which of the seven quest types it uses |
| Target | The mob, item, or block to track |
| Amount | How many are required to complete it |
| Description | The text shown in the details panel |
| Rewards | Items and XP granted on completion |
#Editing workflow
- Stop the game or server.
- Back up
quests.json. - Edit the file with a text editor.
- Restart to load the changes.
Caution
Back up the file before editing. Invalid JSON can stop quests from loading.
#Adding a quest
Copy an existing quest block, give it a new id, and change the type, target, amount, description, and rewards. Save and restart.
#Removing a quest
Delete its block from quests.json. Any progress stored for that quest becomes unused.