{
  "type": "minecraft:entity",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:loot_table",
          "value": "minecraft:entities/witch"
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:loot_table",
          "value": "survivalplus:pots/xp"
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "brush",
          "functions": [
            {
              "function": "minecraft:set_custom_data",
              "tag": "{witchbroom:tag}"
            },
            {
              "function": "minecraft:set_enchantments",
              "enchantments": {
                "minecraft:sweeping_edge": 1
              }
            },
            {
              "function": "minecraft:set_attributes",
              "modifiers": [
                {
                  "attribute": "attack_damage",
                  "id": "-123261091320150-21826",
                  "amount": 3,
                  "operation": "add_value",
                  "slot": "mainhand"
                },
                {
                  "attribute": "attack_speed",
                  "id": "-123261101320150-22026",
                  "amount": -1.8,
                  "operation": "add_value",
                  "slot": "mainhand"
                }
              ]
            },
            {
              "function": "minecraft:set_lore",
              "entity": "this",
              "lore": [
                {
                  "text": "Instantly gets rid of cobwebs",
                  "color": "gray",
                  "italic": false
                }
              ],
              "mode": "append"
            },
            {
              "function": "minecraft:set_name",
              "entity": "this",
              "name": {
                "text": "Broken Broom",
                "color": "white",
                "italic": false
              },
              "target": "item_name"
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "type": "minecraft:uniform",
                "min": 0.1,
                "max": 0.9
              }
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.12
            }
          ]
        }
      ]
    }
  ],
  "random_sequence": "minecraft:entities/witch"
}