{
  "type": "minecraft:entity",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_helmet",
          "functions": [
            {
              "function": "minecraft:set_components",
              "components": {
                "minecraft:attribute_modifiers": [
                  {
                    "type": "armor",
                    "id": "-379213-91389289182321603",
                    "amount": 1,
                    "operation": "add_value",
                    "slot": "head"
                  }
                ],
                "minecraft:lore": [
                  {
                    "text": "Illagers are neutral towards you",
                    "color": "gray",
                    "italic": false
                  },
                  {
                    "text": "Iron Golems will attack you",
                    "color": "red",
                    "italic": false
                  }
                ],
                "minecraft:base_color": "white",
                "minecraft:custom_data": "{illagerhat:tag,hat:tag,specialhat:tag}",
                "minecraft:tooltip_display": {
                  "hidden_components": [
                    "minecraft:banner_patterns"
                  ]
                },
                "minecraft:rarity": "uncommon",
                "minecraft:banner_patterns": [
                  {
                    "color": "cyan",
                    "pattern": "minecraft:rhombus"
                  },
                  {
                    "color": "light_gray",
                    "pattern": "minecraft:stripe_bottom"
                  },
                  {
                    "color": "gray",
                    "pattern": "minecraft:stripe_center"
                  },
                  {
                    "color": "gray",
                    "pattern": "minecraft:border"
                  },
                  {
                    "color": "black",
                    "pattern": "minecraft:stripe_middle"
                  },
                  {
                    "color": "light_gray",
                    "pattern": "minecraft:half_horizontal"
                  },
                  {
                    "color": "light_gray",
                    "pattern": "minecraft:circle"
                  },
                  {
                    "color": "black",
                    "pattern": "minecraft:border"
                  }
                ],
                "minecraft:item_name": {
                  "translate": "block.minecraft.ominous_banner"
                },
                "minecraft:equippable": {
                  "slot": "head",
                  "equip_sound": "minecraft:block.wood.place"
                },
                "minecraft:item_model": "minecraft:white_banner",
                "minecraft:max_damage": 100,
                "minecraft:repairable": {
                  "items": "#minecraft:wooden_tool_materials"
                }
              }
            }
          ]
        }
      ]
    }
  ]
}