So i've been following a tutorial and it says that recipes and loot_tables go in the data file and a few other sources also say. However, the official forge documentation says that it goes in the assets folder but neither of them are working for me.
The forge documentation said something about having to register a new loot_table but I couldn't find any instance of this in the example code I'm following so I don't know where to call it.
Also, whenever I use to approach of making a ./resource/data foler, not only do the recipes not work but nothing in minecraft drops anyhing, not even the vanilla stuff.
Help would be greatly appreciated.