{
   "format_version":"1.17.0",
   "minecraft:entity":{
      "description":{
         "identifier":"vatonage:tower_bomber",
         "is_spawnable":true,
         "is_summonable":true,
         "is_experimental":false
      },
      "component_groups":{
         
      },
      "events":{
         "vatonage:hurt":{
            "run_command": {
               "command": [
                  "summon tnt"
               ]
            }
         },
         "vatonage:death":{
            "run_command": {
               "command": [
                  "summon vatonage:boss_loot_drop2"
               ]
            }
         }
      },
      "components":{
         "minecraft:experience_reward":{
            "on_death":"query.last_hit_by_player ? 300 : 0"
         },
      "minecraft:boss": {
        "should_darken_sky": true,
        "hud_range": 55,
        "name":"Tower Bomber"
      },
         "minecraft:type_family":{
            "family":[
               "monster",
               "mob"
            ]
         },
         "minecraft:health":{
            "value":700,
            "max":700
         },
         "minecraft:collision_box":{
            "width":4,
            "height":4
         },
         "minecraft:movement":{
            "value":0.02
         },
         "minecraft:loot":{
            "table":"loot_tables/entities/legendary_lootcrate.json"
         },
         "minecraft:navigation.float":{
            "can_path_over_water":true
         },
         "minecraft:can_fly":{
            
         },
         "minecraft:behavior.float_wander":{
            "priority":2,
            "must_reach":true
         },
         "minecraft:damage_sensor":{
            "triggers":{
               "cause":"fall",
               "deals_damage":false
            }
         },
         "minecraft:jump.static":{
            
         },
         "minecraft:behavior.ranged_attack":{
          "priority": 1,
          "burst_shots": 5,
          "burst_interval": 0.3,
          "charge_shoot_trigger": 2,
          "charge_charged_trigger": 1,
          "attack_interval_min": 3.0,
          "attack_interval_max": 5.0,
          "attack_radius": 48.0
         },
         "minecraft:follow_range":{
            "value":48,
            "max":48
         },
         "minecraft:behavior.nearest_attackable_target":{
            "priority":2,
            "entity_types":[
               {
                  "filters":{
                     "test":"is_family",
                     "subject":"other",
                     "value":"player"
                  },
                  "max_dist":48
               }
            ],
            "must_see":false
         },
         "minecraft:physics":{
            
         },
         "minecraft:behavior.float":{
            "priority":0
         },
         "minecraft:shooter":{
            "def":"minecraft:fireball"
         },
         "minecraft:on_hurt_by_player":{
            "event": "vatonage:hurt"
         },
         "minecraft:timer":{
            "time":[
               3.0,
               3.0
            ],
            "time_down_event":{
               "event":"vatonage:hurt"
            }
         },
      "minecraft:on_death": {
        "event": "vatonage:death",
        "target": "self"
      }
      }
   }
}