{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "item",
          "name": "crossbow",
          "weight": 1,
          "functions": [
            {
              "function": "set_enchantments",
              "enchantments": {
                "power": 3,
                "punch": 1,
                "piercing": 10
              }
            },
            {
              "function": "minecraft:set_components",
              "components": {
                "repair_cost": 64,
                "rarity": "uncommon",
                "enchantment_glint_override": false
              }
            },
            {
              "function": "set_name",
              "name": [
                {
                  "text": "Heavy Crossbow",
                  "italic": false
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}