{
   "format_version":"1.17.0",
   "minecraft:entity":{
      "description":{
         "identifier":"vatonage:tower_conduit",
         "is_spawnable":true,
         "is_summonable":true,
         "is_experimental":false
      },
      "component_groups":{
         
      },
      "events":{
         "vatonage:hurt":{
            "run_command": {
               "command": [
                  "fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 flowing_water 1 replace air",
                  "scoreboard objectives add lavatimer dummy lavatimer",
                  "scoreboard players add @s lavatimer 1",
                  "execute @s[scores={lavatimer=10..}] ~ ~ ~ summon vatonage:water_summon",
                  "scoreboard players set @s[scores={lavatimer=10..}] lavatimer 0"
               ]
            }
         },
         "vatonage:death":{
            "run_command": {
               "command": [
                  "summon vatonage:boss_loot_drop4"
               ]
            }
         }
      },
      "components":{
         "minecraft:experience_reward":{
            "on_death":"query.last_hit_by_player ? 800 : 0"
         },
      "minecraft:boss": {
        "should_darken_sky": true,
        "hud_range": 55,
        "name":"Tower Conduit"
      },
         "minecraft:type_family":{
            "family":[
               "monster",
               "mob"
            ]
         },
         "minecraft:health":{
            "value":1500,
            "max":1500
         },
         "minecraft:collision_box":{
            "width":4,
            "height":4
         },
         "minecraft:movement":{
            "value":2.5
         },
         "minecraft:loot":{
            "table":"loot_tables/entities/legendary_lootcrate.json"
         },
         "minecraft:movement.glide":{
            "start_speed":0.3,
            "speed_when_turning":0.24
         },
         "minecraft:follow_range":{
            "value":64,
            "max":64
         },
         "minecraft:behavior.nearest_attackable_target":{
            "priority":1,
            "reselect_targets":true,
            "scan_interval":20,
            "within_radius":64,
            "must_see_forget_duration":0.5,
            "target_search_height":80,
            "entity_types":[
               {
                  "filters":{
                     "test":"is_family",
                     "subject":"other",
                     "value":"player"
                  },
                  "max_dist":64
               }
            ]
         },
         "minecraft:behavior.swoop_attack":{
            "priority":2,
            "damage_reach":0.2,
            "speed_multiplier":1,
            "delay_range":[
               5,
               10
            ]
         },
         "minecraft:behavior.circle_around_anchor":{
            "priority":3,
            "radius_change":1,
            "radius_adjustment_chance":0.004,
            "height_adjustment_chance":0.002857,
            "goal_radius":1,
            "angle_change":15,
            "radius_range":[
               4,
               10
            ],
            "height_offset_range":[
               -4,
               5
            ],
            "height_above_target_range":[
               8,
               12
            ]
         },
         "minecraft:physics":{
            "has_gravity":false
         },
         "minecraft:attack":{
            "damage":30
         },
         "minecraft:timer":{
            "time":[
               0.5,
               0.5
            ],
            "time_down_event":{
               "event":"vatonage:hurt"
            }
         },
      "minecraft:on_death": {
        "event": "vatonage:death",
        "target": "self"
      }
      }
   }
}