Loot table not loading
So, for my first datapack, I wanted to try and make a simple custom structure with a single barrel filled with some loot. I've managed to make the structure generate in my world. So as next step I wanted to make a custom loot table and bind it to the barrel in said structure.
The way I did it was by adding a LootTable tag to the barrel in thr structure's nbt data (like so: LootTable: "example:chests/houseloot") However, the barrel generates empty, and in the logs, I've spotted this error:
[13:30:31] [Render thread/INFO]: [System] [CHAT] Failed to parse structure: Failed to get element ResourceKey[minecraft:loot_table / example:chests/houseloot] [13:30:31] [Render thread/INFO]: [System] [CHAT] .../houseloot<--[HERE]. However I triple checked that the file "houseloot.json" definitely exists with the following path:data/example/loot_tables/chests/houseloot.json. Any idea what could be wrong? I'm pretty lost about this.