[Bug]: Datapack fails to validate when adding the custom loot integrations
Master-64 opened this issue ยท 1 comments
Describe the bug you're experiencing
I added a few loot integration files (whatever you want to call it) and upon adding these to a datapack, all worlds fail to load due to the datapack not being valid.
Due to the lack of documentation and explanation on how this mod works, I am to believe that a crucial step was left out of the example instructions provided on the CurseForge page. I was forced to improvise some steps, so this could be the reasoning behind this not validating. I've made datapacks before but have never seen this error.
Reproducability
Make a datapack and make the directory: "..\data\lootintegrations\loot"
Make a .json which contains said data (this could be the error, but it's not explained anywhere)
From within the .json, type this (example w/ raw/no formatting):
{
"loot_table": "minecraft:chests/abandoned_mineshaft",
"max_result_itemcount": 15,
"integrated_loottables": {
"testdatapack:testloottable/loottable1": 1
}
}
Load the game and add in a datapack with this data in it.
See validation error.
Mod up to date
- Before submitting this issue I updated to the newest version and reproduced it
Minecraft version
1.18
Modloader version
Fabric
Logs
https://gist.github.com/Master-64/c0b789a677c1a0addeb942c87244f21b