{
    "type": "entity",
    "pools": [
      {
        "rolls": 1,
        "entries": [
          {
            "type": "loot_table",
            "weight": 1,
            "name": "minecraft:entities/spider",
            "functions": [
              {
                "function": "set_count",
                "count": 1
              }
            ]
          }
        ]
      },
      {
        "rolls": 1,
        "entries": [
          {
            "type": "item",
            "weight": 1,
            "name": "minecraft:spider_eye",
            "functions": [
              {
                "function": "set_count",
                "count": 1
              }
            ]
          }
        ]
      },
      {
        "rolls": 2,
        "entries": [
          {
            "type": "item",
            "weight": 1,
            "name": "minecraft:cobweb",
            "functions": [
              {
                "function": "set_count",
                "count": {
                  "min": 1,
                  "max": 2
                }
              }
            ]
          },
          {
            "type": "item",
            "weight": 1,
            "name": "minecraft:spider_eye",
            "functions": [
              {
                "function": "set_count",
                "count": {
                  "min": 1,
                  "max": 1
                }
              }
            ]
          },
          {
            "type": "item",
            "weight": 1,
            "name": "minecraft:string",
            "functions": [
              {
                "function": "set_count",
                "count": 1
              }
            ]
          }
        ]
      },
      {
        "rolls": 1,
        "entries": [
          {
            "type": "item",
            "weight": 1,
            "name": "minecraft:carved_pumpkin",
            "functions": [
              {
                "function": "set_count",
                "count": 1
              },
              {
                "function": "set_nbt",
                "tag": "{HideFlags:2,CustomModelData:393837,spiderqueenhead:1b,AttributeModifiers:[{AttributeName:\"generic.movement_speed\",Name:\"generic.movement_speed\",Amount:0.07,Operation:0,UUID:[I;1172782034,1766477321,-1734270278,-666218694],Slot:\"head\"}]}"
              },
              {
                "function": "set_name",
                "name": [
                  {
                    "text": "Spider Queen Head",
                    "color": "yellow",
                    "italic": "false"
                  }
                ]
              },
              {
                "function": "set_lore",
                "lore": [
                  {
                    "text": "When on head:",
                    "color": "gray",
                    "italic": "false"
                  },
                  {
                    "text": "Spiders will follow you, and not attack",
                    "color": "gray",
                    "italic": "false"
                  },
                  {
                    "text": "Plus 0.07 Speed",
                    "color": "gray",
                    "italic": "false"
                  }
                ]
              }
            ]
          }
        ]
      }
    ]
  }