{
  "format_version": "1.16.0",
  "minecraft:entity": {
    "description": {
      "identifier": "legacy:hunter_villager",
      "is_spawnable": true,
      "is_summonable": true,
      "is_experimental": false
    },
    "component_groups": {
      "minecraft:celebrate": {
        "minecraft:behavior.celebrate": {
          "priority": 5,
          "celebration_sound": "celebrate",
          "sound_interval": {
            "range_min": 2.0,
            "range_max": 7.0
          },
          "jump_interval": {
            "range_min": 1.0,
            "range_max": 3.5
          },
          "duration": 30.0,
          "on_celebration_end_event": {
            "event": "minecraft:stop_celebrating",
            "target": "self"
          }
        }
      },
      "minecraft:set_angry": {
        "minecraft:angry": {
          "duration": 30,
          "broadcast_anger": true,
          "broadcast_anger_on_attack": true,
          "broadcast_anger_on_being_attacked": true,
          "broadcast_range": 16,
          "broadcast_targets": [
            "villager"
          ],
          "calm_event": {
            "event": "become_calm",
            "target": "self"
          },
          "angry_sound": "angry",
          "sound_interval": {
            "range_min": 2.0,
            "range_max": 5.0
          }
        }
      },
      "minecraft:attack_sensor": {
        "minecraft:target_nearby_sensor": {
          "inside_range": 6,
          "outside_range": 7,
          "must_see": true,
          "on_inside_range": {
            "event": "minecraft:melee_mode",
            "target": "self"
          },
          "on_outside_range": {
            "event": "minecraft:bow_ranged_mode",
            "target": "self"
          }
        }
      },
      "regeneration": {
        "minecraft:spell_effects": {
          "add_effects": [
            {
              "effect": "regeneration",
              "amplifier": 2,
              "visible": 1,
              "ambient": false,
              "duration": 30
            }
          ]
        }
      },
      "blessed_regeneration": {
        "minecraft:spell_effects": {
          "add_effects": [
            {
              "effect": "regeneration",
              "amplifier": 4,
              "visible": 1,
              "ambient": false,
              "duration": 35
            }
          ]
        }
      },
      "blessed_regeneration_cured": {
        "minecraft:spell_effects": {
          "add_effects": [
            {
              "effect": "regeneration",
              "amplifier": 4,
              "visible": 1,
              "ambient": false,
              "duration": 25
            }
          ],
          "remove_effects": "weakness"
        }
      },
      "blessed_regeneration_cured_1": {
        "minecraft:spell_effects": {
          "add_effects": [
            {
              "effect": "regeneration",
              "amplifier": 4,
              "visible": 1,
              "ambient": false,
              "duration": 25
            }
          ],
          "remove_effects": "poison"
        }
      },
      "blessed_regeneration_cured_2": {
        "minecraft:spell_effects": {
          "add_effects": [
            {
              "effect": "regeneration",
              "amplifier": 4,
              "visible": 1,
              "ambient": false,
              "duration": 25
            }
          ],
          "remove_effects": "wither"
        }
      },
      "blessed_regeneration_cured_3": {
        "minecraft:spell_effects": {
          "add_effects": [
            {
              "effect": "regeneration",
              "amplifier": 4,
              "visible": 1,
              "ambient": false,
              "duration": 25
            }
          ],
          "remove_effects": "slowness"
        }
      },
      "minecraft:vindicator_johnny": {
        "minecraft:behavior.nearest_attackable_target": {
          "priority": 2,
          "must_see": true,
          "reselect_targets": true,
          "within_radius": 12.0,
          "must_see_forget_duration": 40.0,
          "entity_types": [
            {
              "filters": {
                "all_of": [
                  {
                    "test": "is_family",
                    "subject": "other",
                    "operator": "!\u003d",
                    "value": "villager"
                  }
                ]
              },
              "max_dist": 12
            }
          ]
        }
      },
      "minecraft:killing_animals": {
        "minecraft:behavior.nearest_attackable_target": {
          "priority": 2,
          "must_see": true,
          "reselect_targets": true,
          "within_radius": 12.0,
          "must_see_forget_duration": 40.0,
          "entity_types": [
            {
              "filters": {
                "any_of": [
                  {
                    "test": "is_family",
                    "subject": "other",
                    "value": "cow"
                  },
                  {
                    "test": "is_family",
                    "subject": "other",
                    "value": "chicken"
                  },
                  {
                    "test": "is_family",
                    "subject": "other",
                    "value": "sheep"
                  },
                  {
                    "test": "is_family",
                    "subject": "other",
                    "value": "rabbit"
                  },
                  {
                    "test": "is_family",
                    "subject": "other",
                    "value": "pig"
                  },
                  {
                    "test": "is_family",
                    "subject": "other",
                    "value": "undead"
                  }
                ]
              },
              "max_dist": 12
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "is_family",
                    "subject": "other",
                    "value": "illager"
                  },
                  {
                    "test": "has_component",
                    "subject": "other",
                    "operator": "!\u003d",
                    "value": "minecraft:is_baby"
                  }
                ]
              },
              "max_dist": 12
            }
          ]
        },
        "minecraft:behavior.random_stroll": {
          "priority": 6,
          "speed_multiplier": 1.0
        },
        "minecraft:behavior.explore_outskirts": {
          "priority": 9,
          "explore_dist": 7,
          "speed_multiplier": 1.0
        }
      },
      "minecraft:default_targeting": {
        "minecraft:behavior.nearest_attackable_target": {
          "priority": 2,
          "must_see": true,
          "reselect_targets": true,
          "within_radius": 16.0,
          "entity_types": [
            {
              "filters": {
                "all_of": [
                  {
                    "test": "is_family",
                    "subject": "other",
                    "value": "undead"
                  },
                  {
                    "test": "is_underwater",
                    "subject": "other",
                    "value": false
                  }
                ]
              },
              "max_dist": 24
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "is_family",
                    "subject": "other",
                    "value": "monster"
                  },
                  {
                    "test": "is_family",
                    "subject": "other",
                    "operator": "!\u003d",
                    "value": "creeper"
                  },
                  {
                    "test": "is_underwater",
                    "subject": "other",
                    "value": false
                  }
                ]
              },
              "max_dist": 24
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "is_family",
                    "subject": "other",
                    "value": "illager"
                  },
                  {
                    "test": "has_component",
                    "subject": "other",
                    "operator": "!\u003d",
                    "value": "minecraft:is_baby"
                  }
                ]
              },
              "max_dist": 16
            }
          ]
        },
        "minecraft:behavior.random_stroll": {
          "priority": 6,
          "speed_multiplier": 1.0
        },
        "minecraft:behavior.explore_outskirts": {
          "priority": 9,
          "explore_dist": 7,
          "speed_multiplier": 1.0
        }
      },
      "minecraft:bow_ranged_attack": {
        "minecraft:behavior.ranged_attack": {
          "priority": 4,
          "attack_interval_min": 1,
          "attack_interval_max": 1,
          "attack_radius_min": 4,
          "attack_radius": 8,
          "target_in_sight_time": 0.1
        },
        "minecraft:shooter": {
          "def": "minecraft:arrow"
        },
        "minecraft:equipment": {
          "table": "loot_tables/entities/bow_gear.json"
        },
        "minecraft:variant": {
          "value": 1
        }
      },
      "minecraft:melee_attack": {
        "minecraft:behavior.melee_attack": {
          "priority": 4,
          "track_target": true
        },
        "minecraft:attack": {
          "damage": 3
        },
        "minecraft:equipment": {
          "table": "loot_tables/entities/stone_sword_gear.json"
        },
        "minecraft:variant": {
          "value": 0
        }
      },
      "hunting_schedule": {
        "minecraft:scheduler": {
          "min_delay_secs": 0,
          "max_delay_secs": 10,
          "scheduled_events": [
            {
              "filters": {
                "all_of": [
                  {
                    "test": "hourly_clock_time",
                    "operator": "\u003e\u003d",
                    "value": 0
                  },
                  {
                    "test": "hourly_clock_time",
                    "operator": "\u003c",
                    "value": 8000
                  }
                ]
              },
              "event": "minecraft:cooking_chef"
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "hourly_clock_time",
                    "operator": "\u003e\u003d",
                    "value": 8000
                  },
                  {
                    "test": "hourly_clock_time",
                    "operator": "\u003c",
                    "value": 10000
                  }
                ]
              },
              "event": "minecraft:killing_animals"
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "hourly_clock_time",
                    "operator": "\u003e\u003d",
                    "value": 10000
                  },
                  {
                    "test": "hourly_clock_time",
                    "operator": "\u003c",
                    "value": 11000
                  }
                ]
              },
              "event": "minecraft:cooking_chef"
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "hourly_clock_time",
                    "operator": "\u003e\u003d",
                    "value": 11000
                  },
                  {
                    "test": "hourly_clock_time",
                    "operator": "\u003c",
                    "value": 12000
                  }
                ]
              },
              "event": "minecraft:schedule_gather_vindicator_chef"
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "hourly_clock_time",
                    "operator": "\u003e\u003d",
                    "value": 17000
                  },
                  {
                    "test": "hourly_clock_time",
                    "operator": "\u003c",
                    "value": 24000
                  }
                ]
              },
              "event": "minecraft:take_a_break"
            }
          ]
        }
      },
      "gather_schedule_chef": {
        "minecraft:behavior.mingle": {
          "priority": 3,
          "speed_multiplier": 0.7,
          "duration": 30,
          "cooldown_time": 10,
          "mingle_partner_type": "legacy:hunter_villager",
          "mingle_distance": 2.0
        },
        "minecraft:behavior.random_stroll": {
          "priority": 6,
          "speed_multiplier": 0.7
        },
        "minecraft:behavior.explore_outskirts": {
          "priority": 9,
          "explore_dist": 7,
          "speed_multiplier": 0.6
        }
      },
      "trade_resupply_component_group": {
        "minecraft:trade_resupply": {},
        "minecraft:timer": {
          "time": 2,
          "looping": true,
          "time_down_event": {
            "event": "minecraft:stop_resupply"
          }
        }
      },
      "minecraft:spawn_on_village": {
        "minecraft:preferred_path": {
          "max_fall_blocks": 1,
          "jump_cost": 20,
          "default_block_cost": 3,
          "preferred_path_blocks": [
            {
              "cost": 0,
              "blocks": [
                "grass_path"
              ]
            },
            {
              "cost": 1,
              "blocks": [
                "cobblestone",
                "stone",
                "stonebrick",
                "sandstone",
                "mossy_cobblestone",
                "stone_slab",
                "stone_slab2",
                "stone_slab3",
                "stone_slab4",
                "double_stone_slab",
                "double_stone_slab2",
                "double_stone_slab3",
                "double_stone_slab4",
                "wooden_slab",
                "double_wooden_slab",
                "planks",
                "brick_block",
                "nether_brick",
                "red_nether_brick",
                "end_bricks",
                "red_sandstone",
                "stained_glass",
                "glass",
                "glowstone",
                "prismarine",
                "emerald_block",
                "diamond_block",
                "lapis_block",
                "gold_block",
                "redstone_block",
                "purple_glazed_terracotta",
                "white_glazed_terracotta",
                "orange_glazed_terracotta",
                "magenta_glazed_terracotta",
                "light_blue_glazed_terracotta",
                "yellow_glazed_terracotta",
                "lime_glazed_terracotta",
                "pink_glazed_terracotta",
                "gray_glazed_terracotta",
                "silver_glazed_terracotta",
                "cyan_glazed_terracotta",
                "blue_glazed_terracotta",
                "brown_glazed_terracotta",
                "green_glazed_terracotta",
                "red_glazed_terracotta",
                "black_glazed_terracotta"
              ]
            },
            {
              "cost": 50,
              "blocks": [
                "bed",
                "lectern",
                "composter",
                "grindstone",
                "blast_furnace",
                "smoker",
                "fletching_table",
                "cartography_table",
                "brewing_stand",
                "smithing_table",
                "cauldron",
                "barrel",
                "loom",
                "stonecutter"
              ]
            }
          ]
        },
        "minecraft:behavior.explore_outskirts": {
          "priority": 5,
          "explore_dist": 7,
          "speed_multiplier": 0.9,
          "wait_time": 30
        },
        "minecraft:behavior.move_to_village": {
          "priority": 6,
          "speed_multiplier": 1.0
        },
        "minecraft:behavior.move_through_village": {
          "priority": 3,
          "speed_multiplier": 0.6,
          "only_at_night": true
        },
        "minecraft:pushable": {
          "is_pushable": true,
          "is_pushable_by_piston": true
        },
        "minecraft:behavior.random_stroll": {
          "priority": 5,
          "speed_multiplier": 1
        }
      },
      "desert_pillager": {
        "minecraft:mark_variant": {
          "value": 1
        }
      },
      "jungle_pillager": {
        "minecraft:mark_variant": {
          "value": 2
        }
      },
      "savanna_pillager": {
        "minecraft:mark_variant": {
          "value": 3
        }
      },
      "snow_pillager": {
        "minecraft:mark_variant": {
          "value": 4
        }
      },
      "swamp_pillager": {
        "minecraft:mark_variant": {
          "value": 5
        }
      },
      "taiga_pillager": {
        "minecraft:mark_variant": {
          "value": 6
        }
      }
    },
    "components": {
      "minecraft:is_hidden_when_invisible": {},
      "minecraft:experience_reward": {
        "on_death": "query.last_hit_by_player ? (query.is_baby ? 12 : 5) + (Math.die_roll(query.equipment_count,1,3)) : 0"
      },
      "minecraft:conditional_bandwidth_optimization": {},
      "minecraft:nameable": {
        "default_trigger": {
          "event": "minecraft:stop_johnny",
          "target": "self"
        },
        "name_actions": [
          {
            "name_filter": "Johnny",
            "on_named": {
              "event": "minecraft:start_johnny",
              "target": "self"
            }
          }
        ]
      },
      "minecraft:type_family": {
        "family": [
          "villager_hunter",
          "villager",
          "mob"
        ]
      },
      "minecraft:variant": {
        "value": 0
      },
      "minecraft:breathable": {
        "total_supply": 15,
        "suffocate_time": 0
      },
      "minecraft:collision_box": {
        "width": 0.6,
        "height": 1.9
      },
      "minecraft:health": {
        "value": 30,
        "max": 30
      },
      "minecraft:economy_trade_table": {
        "display_name": "entity.legacy:hunter_villager.name",
        "table": "trading/economy_trades/hunter_trades.json",
        "new_screen": true
      },
      "minecraft:behavior.trade_with_player": {
        "priority": 1
      },
      "minecraft:behavior.trade_interest": {
        "priority": 3,
        "within_radius": 6.0,
        "interest_time": 45.0,
        "remove_item_time": 1.0,
        "carried_item_switch_time": 2.0,
        "cooldown": 2.0
      },
      "minecraft:behavior.look_at_trading_player": {
        "priority": 4
      },
      "minecraft:hurt_on_condition": {
        "damage_conditions": [
          {
            "filters": {
              "test": "in_lava",
              "subject": "self",
              "operator": "\u003d\u003d",
              "value": true
            },
            "cause": "lava",
            "damage_per_tick": 4
          }
        ]
      },
      "minecraft:attack": {
        "damage": 3
      },
      "minecraft:movement": {
        "value": 0.35
      },
      "minecraft:navigation.walk": {
        "can_path_over_water": true,
        "can_pass_doors": true,
        "can_open_doors": true,
        "avoid_water": true
      },
      "minecraft:annotation.open_door": {
      },
      "minecraft:movement.basic": {},
      "minecraft:jump.static": {},
      "minecraft:follow_range": {
        "value": 64
      },
      "minecraft:loot": {
        "table": "loot_tables/entities/vindication_illager.json"
      },
      "minecraft:shareables": {
        "items": [
          {
            "item": "minecraft:bread",
            "want_amount": 3,
            "surplus_amount": 6,
            "stored_in_inventory": true
          },
          {
            "item": "minecraft:fish",
            "want_amount": 64,
            "surplus_amount": 64,
            "stored_in_inventory": true,
            "pickup_only": true
          },
          {
            "item": "minecraft:salmon",
            "want_amount": 64,
            "surplus_amount": 64,
            "stored_in_inventory": true,
            "pickup_only": true
          },
          {
            "item": "minecraft:beef",
            "want_amount": 64,
            "surplus_amount": 64,
            "stored_in_inventory": true,
            "pickup_only": true
          },
          {
            "item": "minecraft:porkchop",
            "want_amount": 64,
            "surplus_amount": 64,
            "stored_in_inventory": true,
            "pickup_only": true
          },
          {
            "item": "minecraft:muttonraw",
            "want_amount": 64,
            "surplus_amount": 64,
            "stored_in_inventory": true,
            "pickup_only": true
          },
          {
            "item": "minecraft:chicken",
            "want_amount": 64,
            "surplus_amount": 64,
            "stored_in_inventory": true,
            "pickup_only": true
          },
          {
            "item": "minecraft:cooked_beef",
            "want_amount": 64,
            "surplus_amount": 64,
            "stored_in_inventory": true,
            "pickup_only": true
          },
          {
            "item": "minecraft:cooked_porkchop",
            "want_amount": 64,
            "surplus_amount": 64,
            "stored_in_inventory": true,
            "pickup_only": true
          },
          {
            "item": "minecraft:cooked_rabbit",
            "want_amount": 64,
            "surplus_amount": 64,
            "stored_in_inventory": true,
            "pickup_only": true
          },
          {
            "item": "minecraft:muttoncooked",
            "want_amount": 64,
            "surplus_amount": 64,
            "stored_in_inventory": true,
            "pickup_only": true
          },
          {
            "item": "minecraft:cooked_fish",
            "want_amount": 64,
            "surplus_amount": 64,
            "stored_in_inventory": true,
            "pickup_only": true
          },
          {
            "item": "minecraft:cooked_salmon",
            "want_amount": 64,
            "surplus_amount": 64,
            "stored_in_inventory": true,
            "pickup_only": true
          }
        ]
      },
      "minecraft:equipment": {
        "table": "loot_tables/entities/stone_sword_gear.json"
      },
      "minecraft:behavior.float": {
        "priority": 0
      },
      "minecraft:damage_sensor": {
        "triggers": [
          {
            "on_damage": {
              "filters": [
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "villager"
                }
              ]
            },
            "deals_damage": false
          }
        ]
      },
      "minecraft:behavior.melee_attack": {
        "priority": 3
      },
      "minecraft:behavior.random_stroll": {
        "priority": 9,
        "speed_multiplier": 1
      },
      "minecraft:behavior.look_at_player": {
        "priority": 10,
        "look_distance": 8,
        "probability": 0.02
      },
      "minecraft:behavior.hurt_by_target": {
        "priority": 1,
        "entity_types": {
          "filters": {
            "test": "is_family",
            "subject": "other",
            "operator": "!\u003d",
            "value": "villager"
          },
          "max_dist": 64
        }
      },
      "minecraft:behavior.pickup_items": {
        "priority": 4,
        "max_dist": 12,
        "goal_radius": 2,
        "speed_multiplier": 1.0,
        "can_pickup_to_hand_or_equipment": false
      },
      "minecraft:on_target_acquired": {
        "event": "minecraft:become_aggro",
        "target": "self"
      },
      "minecraft:on_target_escape": {
        "event": "minecraft:stop_aggro",
        "target": "self"
      },
      "minecraft:physics": {},
      "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      }
    },
    "events": {
      "minecraft:entity_spawned": {
        "sequence": [
          {
            "add": {
              "component_groups": [
                "minecraft:default_targeting",
                "hunting_schedule",
                "minecraft:attack_sensor"
              ]
            }
          },
          {
            "filters": {
              "any_of": [
                {
                  "test": "has_biome_tag",
                  "value": "desert"
                },
                {
                  "test": "has_biome_tag",
                  "value": "mesa"
                }
              ]
            },
            "add": {
              "component_groups": [
                "desert_pillager"
              ]
            }
          },
          {
            "filters": {
              "test": "has_biome_tag",
              "value": "jungle"
            },
            "add": {
              "component_groups": [
                "jungle_pillager"
              ]
            }
          },
          {
            "filters": {
              "test": "has_biome_tag",
              "value": "savanna"
            },
            "add": {
              "component_groups": [
                "savanna_pillager"
              ]
            }
          },
          {
            "filters": {
              "any_of": [
                {
                  "all_of": [
                    {
                      "test": "has_biome_tag",
                      "value": "cold"
                    },
                    {
                      "test": "has_biome_tag",
                      "operator": "!\u003d",
                      "value": "ocean"
                    }
                  ]
                },
                {
                  "test": "has_biome_tag",
                  "value": "frozen"
                }
              ]
            },
            "add": {
              "component_groups": [
                "snow_pillager"
              ]
            }
          },
          {
            "filters": {
              "test": "has_biome_tag",
              "value": "swamp"
            },
            "add": {
              "component_groups": [
                "swamp_pillager"
              ]
            }
          },
          {
            "filters": {
              "all_of": [
                {
                  "any_of": [
                    {
                      "test": "has_biome_tag",
                      "value": "taiga"
                    },
                    {
                      "test": "has_biome_tag",
                      "value": "extreme_hills"
                    }
                  ]
                },
                {
                  "test": "has_biome_tag",
                  "operator": "!\u003d",
                  "value": "cold"
                }
              ]
            },
            "add": {
              "component_groups": [
                "taiga_pillager"
              ]
            }
          }
        ]
      },
      "minecraft:spawn_on_village": {
        "sequence": [
          {
            "add": {
              "component_groups": [
                "minecraft:default_targeting",
                "hunting_schedule",
                "minecraft:attack_sensor",
                "minecraft:spawn_on_village"
              ]
            }
          },
          {
            "filters": {
              "any_of": [
                {
                  "test": "has_biome_tag",
                  "value": "desert"
                },
                {
                  "test": "has_biome_tag",
                  "value": "mesa"
                }
              ]
            },
            "add": {
              "component_groups": [
                "desert_pillager"
              ]
            }
          },
          {
            "filters": {
              "test": "has_biome_tag",
              "value": "jungle"
            },
            "add": {
              "component_groups": [
                "jungle_pillager"
              ]
            }
          },
          {
            "filters": {
              "test": "has_biome_tag",
              "value": "savanna"
            },
            "add": {
              "component_groups": [
                "savanna_pillager"
              ]
            }
          },
          {
            "filters": {
              "any_of": [
                {
                  "all_of": [
                    {
                      "test": "has_biome_tag",
                      "value": "cold"
                    },
                    {
                      "test": "has_biome_tag",
                      "operator": "!\u003d",
                      "value": "ocean"
                    }
                  ]
                },
                {
                  "test": "has_biome_tag",
                  "value": "frozen"
                }
              ]
            },
            "add": {
              "component_groups": [
                "snow_pillager"
              ]
            }
          },
          {
            "filters": {
              "test": "has_biome_tag",
              "value": "swamp"
            },
            "add": {
              "component_groups": [
                "swamp_pillager"
              ]
            }
          },
          {
            "filters": {
              "all_of": [
                {
                  "any_of": [
                    {
                      "test": "has_biome_tag",
                      "value": "taiga"
                    },
                    {
                      "test": "has_biome_tag",
                      "value": "extreme_hills"
                    }
                  ]
                },
                {
                  "test": "has_biome_tag",
                  "operator": "!\u003d",
                  "value": "cold"
                }
              ]
            },
            "add": {
              "component_groups": [
                "taiga_pillager"
              ]
            }
          }
        ]
      },
      "minecraft:schedule_gather_hunting": {
        "remove": {
          "component_groups": [
            "minecraft:killing_animals"
          ]
        },
        "add": {
          "component_groups": [
            "gather_schedule_hunting"
          ]
        }
      },
      "minecraft:take_a_break": {
        "add": {
          "component_groups": [
            "minecraft:default_targeting"
          ]
        },
        "remove": {
          "component_groups": [
            "gather_schedule_hunting",
            "minecraft:killing_animals"
          ]
        }
      },
      "minecraft:killing_animals": {
        "add": {
          "component_groups": [
            "minecraft:killing_animals"
          ]
        },
        "remove": {
          "component_groups": [
            "gather_schedule_hunting",
            "minecraft:default_targeting"
          ]
        }
      },
      "minecraft:become_aggro": {
        "add": {
          "component_groups": [
            "minecraft:set_angry"
          ]
        }
      },
      "minecraft:stop_aggro": {
        "remove": {
          "component_groups": [
            "minecraft:set_angry"
          ]
        }
      },
      "minecraft:start_johnny": {
        "add": {
          "component_groups": [
            "minecraft:vindicator_johnny"
          ]
        }
      },
      "minecraft:stop_johnny": {
        "remove": {
          "component_groups": [
            "minecraft:vindicator_johnny"
          ]
        },
        "add": {
          "component_groups": [
            "minecraft:default_targeting"
          ]
        }
      },
      "minecraft:start_celebrating": {
        "add": {
          "component_groups": [
            "minecraft:celebrate"
          ]
        }
      },
      "minecraft:stop_celebrating": {
        "remove": {
          "component_groups": [
            "minecraft:celebrate"
          ]
        }
      },
      "minecraft:melee_mode": {
        "remove": {
          "component_groups": [
            "minecraft:ranged_attack",
            "minecraft:spear_melee_attack",
            "minecraft:bow_ranged_attack"
          ]
        },
        "add": {
          "component_groups": [
            "minecraft:melee_attack"
          ]
        }
      },
      "minecraft:bow_ranged_mode": {
        "remove": {
          "component_groups": [
            "minecraft:melee_attack",
            "minecraft:spear_melee_attack",
            "minecraft:melee_attack"
          ]
        },
        "add": {
          "component_groups": [
            "minecraft:bow_ranged_attack"
          ]
        }
      },
      "minecraft:give_regeneration_villager": {
        "add": {
          "component_groups": [
            "regeneration"
          ]
        }
      },
      "minecraft:give_blessed_regeneration_villager": {
        "add": {
          "component_groups": [
            "blessed_regeneration"
          ]
        }
      },
      "minecraft:give_blessed_regeneration_villager_cured": {
        "add": {
          "component_groups": [
            "blessed_regeneration_cured"
          ]
        }
      },
      "minecraft:give_blessed_regeneration_villager_cured_1": {
        "add": {
          "component_groups": [
            "blessed_regeneration_cured_1"
          ]
        }
      },
      "minecraft:give_blessed_regeneration_villager_cured_2": {
        "add": {
          "component_groups": [
            "blessed_regeneration_cured_2"
          ]
        }
      },
      "minecraft:give_blessed_regeneration_villager_cured_3": {
        "add": {
          "component_groups": [
            "blessed_regeneration_cured_3"
          ]
        }
      }
    }
  }
}