🧹 Custom Witch Quests & Rewards
# Requested Items
Items required for quests come from a “category”. Each category is a collection of possible items for the Witch to request.
Each category has a weight, the higher the weight, the more likely the category will be chosen.
When selection and item for a quest, a category is chosen, then an item is chosen at random from that category.
Each item has a max count, being the maximum amount of that item the Witch will request.
Each item has a point value. The total amount of points for a single quest determines the difficulty of the quest, with higher being harder.
Harder quests have a higher chance of a better reward.
# New Category
Here is an example category file, we could call this file
my_cool_category.json. It will go in the
In this category, we have a weight of 10, this is the likelihood that this category would be chosen.
To change the rarity of this category, I could set this value to a lower number,
5 would make it twice as rare, while
20 would be twice as common.
Each item has it’s own
points value. This is the number that contributes to the rarity of the item. A higher
points value item makes the reward more valuable.
# Overwriting a category
Say you want to remove all the Biome Makeover’s default requested items. You can not delete Biome Makeover’s files, so you have to overwrite it. Here you have two options:
# Overwriting the file
Say we want to remove the
We create a new file at
data/biomemakeover/quest_category/dark_forest.json within our data pack. We then fill this file with our own data.
This will fully replace Biome Makeover’s
dark_forest.json as they do not get merged.
# Overwrite and Empty
The other option is overwriting and emptying a category. Again, say we want to remove the
We create a new file at
This time we fill it with the following:
This is an empty JSON object. Biome Makeover will not attempt to load empty categories, effectively skipping it.
We would then create own own category in
data/[datapack name]/quest_category/my_cool_category.json and fill it with our own data.
Rewards are the items received for completing a Witch Quest.
Rewards are split into “reward tables” that get selected based on the points of the completed quest.
# New Reward Table
A reward table contains two parts
Weights describe the rarity of this table being rolled for a specific quest rarity. A higher weight is more common.
This describes a weights that are likely to be rolled for a common and uncommon quest, but has no chance for a rare or epic quest.
This describes weights that have a very low chance on a common or uncommon quest, but a better chance on rare and epic quests.
There are two types of rewards
This describes an in item reward that will give
minecraft:fermented_spider_eye with a minimum count of 6 and a max count of 20.
Items also have an optional
tag, allowing you to give the item NBT:
This describes a diamond sword with the name “Witchy Sword” and the lore “A sword once owned by a witch!”
This describes a reward that will give a leaping potion. All potion rewards have a chance to become splash or lingering potions.
# Full Example
This is a cut down version and modified version of the file