{
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:blaze_powder",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_name",
              "entity": "this",
              "name": {
                "text": "Fire Compass",
                "italic": false
              },
              "target": "item_name"
            },
            {
              "function": "minecraft:set_custom_data",
              "tag": "{firecompass:tag}"
            },
            {
              "function": "minecraft:set_lore",
              "entity": "this",
              "lore": [
                {
                  "text": "When held:",
                  "color": "gray",
                  "italic": false
                },
                {
                  "text": "Points to nearby rare enemies",
                  "color": "gray",
                  "italic": false
                },
                {
                  "text": "and other special things",
                  "color": "yellow"
                }
              ],
              "mode": "append"
            },
            {
              "function": "minecraft:set_components",
              "components": {
                "minecraft:enchantment_glint_override": true,
                "minecraft:rarity": "rare"
              }
            }
          ]
        }
      ]
    }
  ]
}