{
  "format_version": "1.10.0",
  "minecraft:entity": {
    "description": {
      "identifier": "mobs:spectre",
      "is_spawnable": true,
      "is_summonable": true,
      "is_experimental": false
    },
    "component_groups": {},
    "components": {
      "minecraft:type_family": {
        "family": [
          "mob",
          "phantom"
        ]
      },
      "minecraft:loot": {
        "table": "loot_tables/entities/phantom.json"
      },
      "minecraft:health": {
        "value": 26,
        "max": 26
      },
      "minecraft:physics": {},
      "minecraft:attack": {
        "damage": 6
      },
      "minecraft:collision_box": {
        "height": 0.5,
        "width": 0.9
      },
      "minecraft:movement": {
        "value": 0.2
      },
      "minecraft:movement.glide": {
        "start_speed": 0.1,
        "speed_when_turning": 0.2
      },
      "minecraft:burns_in_daylight": {},
      "minecraft:follow_range": {
        "value": 64,
        "max": 64
      },
      "minecraft:behavior.nearest_attackable_target": {
        "priority": 1,
        "within_radius": 64,
        "reselect_targets": true,
        "entity_types": [
          {
            "filters": {
              "any_of": [
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "player"
                }
              ]
            },
            "max_dist": 64.0,
            "must_see": false
          }
        ],
        "must_see": false,
        "must_see_forget_duration": 0.5,
        "scan_interval": 20,
        "target_search_height": 80.0,
        "must_reach": false
      },
      "minecraft:behavior.swoop_attack": {
        "priority": 2,
        "delay_range": [
          10.0,
          20.0
        ]
      },
      "minecraft:behavior.circle_around_anchor": {
        "priority": 3,
        "radius_range": [
          5.0,
          15.0
        ],
        "radius_change_chance": 250,
        "height_above_target_range": [
          20.0,
          40.0
        ],
        "height_offset_range": [
          -4.0,
          5.0
        ],
        "height_change_chance": 350,
        "goal_radius": 1.0
      },
      "minecraft:experience_reward": {
        "on_death": "query.last_hit_by_player ? 1 : 0"
      },
      "minecraft:underwater_movement": {
        "value": 0.02
      },
      "minecraft:flying_speed": {
        "value": 0.2
      },
      "minecraft:scale": {
        "value": 1
      },
      "minecraft:fire_immune": true,
      "minecraft:behavior.melee_attack": {
        "priority": 2,
        "speed_multiplier": 1.0,
        "target_dist": 0.0,
        "max_dist": 3,
        "random_stop_interval": 100,
        "track_target": false,
        "reach_multiplier": 1.4
      },
      "minecraft:behavior.hurt_by_target": {
        "priority": 3
      },
      "minecraft:behavior.owner_hurt_by_target": {
        "priority": 1
      },
      "minecraft:behavior.owner_hurt_target": {
        "priority": 2
      },
      "minecraft:behavior.float": {
        "priority": 0
      },
      "minecraft:can_fly": {},
      "minecraft:behavior.float_wander": {
        "random_reselect": true,
        "priority": 2
      },
      "minecraft:movement.generic": {},
      "minecraft:navigation.fly": {
        "avoid_damage_blocks": true,
        "avoid_portals": false,
        "avoid_sun": false,
        "avoid_water": true,
        "blocks_to_avoid": [],
        "can_breach": false,
        "can_break_doors": false,
        "can_jump": true,
        "can_open_doors": false,
        "can_open_iron_doors": false,
        "can_pass_doors": true,
        "can_path_from_air": false,
        "can_path_over_lava": false,
        "can_path_over_water": false,
        "can_sink": true,
        "can_swim": false,
        "can_walk": true,
        "can_walk_in_lava": false,
        "is_amphibious": false
      }
    },
    "events": {
      "on:death": {
        "run_command": {
          "command": []
        }
      },
      "on:hurt": {
        "run_command": {
          "command": []
        }
      },
      "on:hurt_by_player": {
        "run_command": {
          "command": []
        }
      },
      "on:ignite": {
        "run_command": {
          "command": []
        }
      },
      "on:target_acquired": {
        "run_command": {
          "command": []
        }
      },
      "on:target_escape": {
        "run_command": {
          "command": []
        }
      },
      "on:wake_with_owner": {
        "run_command": {
          "command": []
        }
      }
    }
  }
}