Closed James103 closed 3 years ago
Hi James103, perfect timing. In the next Guild release, you'll be able to attach Nbt tags to quests. With this you can specify whatever item you want.
Loot tables functions are very useful and i'll probably add them in the future, if they'll still fit with the mod, after the v1.0.0 release.
You're also welcome to post more ideas / suggestions on my Discord: https://discord.com/invite/G8s2q4wMnt
See ya!
I just realized that I got it all wrong!
You were talking about datapacks functions, not loot tables functions.
By the way all that I said above still applies including the release terms.
So keep tuned!
Currently, there's only the "item" reward type for quest rewards, unlike quest tasks which may include tasks not involving items. To fix this, I propose adding the reward type
function
. Thefunction
reward type allows data packs to implement any reward for a quest using commands. The reward type takes the following parameters:Examples (click to expand)
```json { "type": "function", "name": "test:speed_boost", "title": {"text":"Speed II (2:30)"}, "unit_worth": 100, "weight": 10 } ``` ```json { "type": "function", "name": "test:max_health", "title": {"text":"+2 Max Health"}, "unit_worth": 300, "weight": 5 } ```