execute as @e[type=vindicator,tag=!plussed] run data merge entity @s {DeathLootTable:"survivalplus:entities/vindicator"}
execute as @e[type=vindicator,tag=!plussed,nbt={equipment:{head:{id:"minecraft:white_banner"}}}] run data merge entity @s {Team:illager,Tags:[plussed,rare,noreroll,hatme,illagercaptain],Health:40,equipment:{mainhand:{id:iron_axe}},attributes:[{id:"armor_toughness",base:6f},{id:"attack_knockback",base:1f},{id:"max_health",base:40f},{id:"knockback_resistance",base:0.5f}],drop_chances:{head:1f}}
execute as @e[type=vindicator,tag=illagercaptain,tag=hatme,predicate=survivalplus:20chance] run function survivalplus:mobs/hatillager
tag @e remove hatme

execute as @e[type=vindicator,tag=!plussed] run data merge entity @s {Team:illager,Health:40,attributes:[{id:"armor",base:10f},{id:"attack_knockback",base:1f},{id:"max_health",base:40f},{id:"knockback_resistance",base:0.5f}],equipment:{mainhand:{id:iron_axe}}}
#execute as @e[type=vindicator,tag=!plussed,predicate=survivalplus:5chance] run data merge entity @s {Team:illager,Health:40,attributes:[{id:"armor_toughness",base:6f},{id:"attack_knockback",base:1f},{id:"max_health",base:40f},{id:"knockback_resistance",base:0.5f},{id:"attack_damage",base:2f}],equipment:{mainhand:{id:iron_axe,components:{custom_data:{cleaver:tag},attribute_modifiers:[{type:"attack_damage",amount:4,slot:mainhand,id:"-123261091320150-21826",operation:add_value},{type:"attack_speed",amount:-2.2,slot:mainhand,id:"-123261101320150-22026",operation:add_value}],item_name:{"text":"Cleaver","italic":false},lore:[{"text":"Animals drop more loot when killed","italic":false,"color":"gray"}]}}},drop_chances:{mainhand:1f}}
execute as @e[type=vindicator,tag=!plussed] run tag @s add plussed