Minecraft wiki entry for Creating_a_data_pack, associated text: Loot tables will tell Minecraft what should be dropped when a mob dies or what should be generated inside containers, like chests, when opened for the first time, they can also be called by the /loot command.