ModPack Creator Fey Quests - SaphieNyako/Feywild GitHub Wiki
This is a tutorial that will take you through the process of adding your own quests to the fey questline.
In your data pack or mod's data folder, you need to create another folder named feywild_quests
inside of which you need to create a folder dedicated to each court (autumn, winter, spring, summer). In the folder of your desired court you need to create your own .json file for each quest you want to add, which should look something like this:
{
"parent": "feywild:food_complete",
"reputation": 5,
"sound": "feywild:summoning_autumn_pixie",
"icon": "minecraft:carved_pumpkin",
"start": {
"title": {
"translate": "quest.feywild.autumn.pumpkin.start.title"
},
"description": {
"translate": "quest.feywild.autumn.pumpkin.start.description"
}
},
"complete": {
"title": {
"translate": "quest.feywild.autumn.pumpkin.complete.title"
},
"description": {
"translate": "quest.feywild.autumn.pumpkin.complete.description"
}
},
"tasks": [
{
"item": {
"item": "minecraft:carved_pumpkin"
},
"amount": 2,
"id": "feywild:item"
}
],
"rewards": [
{
"item": {
"item": "minecraft:sweet_berries",
"count": 6
},
"id": "feywild:item"
}
]
}
-
parent
-"parent" : "quest_name"
The parent
field contains the name of single or multiple quests which the player is required to complete before having access to this one. If you need multiple quests completed use an array "parent" : ["quest1", "quest2"].
Quest names (not file names) have this structure : so if you had a mod called "MyAwsomeMod" and you wanted to add a quest called "TheBestQuest" then its name would be "MyAwsomeMod:TheBestQuest".
-
reputation
-"reputation" : 0
This field tells the fey how much reputation the player should get after completing the current task.
-
sound
-"sound" : "sound_name"
This field represents the path to the sound you want the fey to play when the player starts to talk with it. For example, we use the summoning sound for the first quest with each faction:"feywild:summoning_spring_pixie"
. If you don't want any sound to be played then do not include the field in your json file.
-
repeatable
-"repeatable": false
Set to true if you want the quest to be repeatable, and to false if not. This field is automatically set to false and is not required so you don't have to include it in the json file unless you want to change it to true.
-
icon
-"icon": "minecraft:potato"
The icon is a reference to an item. If there are multiple required quests or repeatable quests there will be icons displayed to represent the quest. This is important to add even if you don't have multiple quests available at the same time.
start / complete
The start and complete fields contain the message and title displayed by the quest when you first start it (start) and when you complete it (complete).
The title
is only displayed if there are multiple quests active at the same time. It can either take in a translation key by saying "translate" or plain text by saying "text".
The description
is the actual message displayed to the player, it should contain information about quest completion. It can either take in a translation key by saying "translate" or plain text by saying "text".
rewards
Contains a list of items that are given to the player as a reward for completing the quest.
tasks
Contains a list of tasks the player has to do in order to complete the quest.
times
- defines the number of times a specific repeatable action must be performed to complete a task
id
- defines the action that the player has to complete
Currently, there are 4 types of actions a player can complete.
-
craft
- repeatable
- requires an
item
field that contains the specific item required that the player must craft
-
fey_gift
- repeatable
- requires an
item
field that contains the specific item the player has to give to the fey
-
item
- non-repeatable
- does not work with
times
- requires an
item
field that contains the specific item required for the player to have in their inventory - requires a field called
amount
telling the amount of the specific item
-
kill
- repeatable
- requires an
entity
field that contains the specific entity the player must kill
Here you can find all of the quests added by the mod: QUESTS