problem with recipe output w/ components in 1.20.5

I want to make the output of a recipe a barrel with a loot-table inside of it. However the recipe does not when I made this file. Idk much about the recipe outputs in 1.20.5 so If someone can help that will be great.

{
  "type": "minecraft:crafting_shapeless",
  "category": "blocks",
  "ingredients": [
    {
      "item": "minecraft:barrel"
    },
    {
      "item": "minecraft:baked_potato"
    }
  ],
  "result": {
    "id": "minecraft:barrel",
    "count": 1,
    "components": {
      "minecraft:container_loot": {
        "loot_table": "tamed_potatoes:chests/potato_crate"
      },
      "minecraft:item_name": "Large Potato Crate"
    }
  }
}
Continue to help post