{
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:goat_horn",
          "functions": [
            {
              "function": "minecraft:set_components",
              "components": {
                "minecraft:item_model": "vb:animal_whistle",
                "minecraft:custom_data": "{vb.item:1b,vb.item.animal_whistle:1b}",
                "minecraft:item_name": {
                  "translate": "vb.custom_item.animal_whistle"
                },
                "minecraft:instrument": "vb:animal_whistle",
                "minecraft:use_cooldown": {
                  "seconds": 1.5,
                  "cooldown_group": "animal_whistle"
                },
                "minecraft:tooltip_display": {
                  "hidden_components": [
                    "minecraft:instrument"
                  ]
                },
                "minecraft:rarity": "common"
              }
            }
          ]
        }
      ]
    }
  ]
}