{
  "format_version": "1.10.0",
  "minecraft:entity": {
    "description": {
      "identifier": "mobs:cosmaw",
      "is_spawnable": true,
      "is_summonable": true,
      "is_experimental": false
    },
    "component_groups": {},
    "components": {
      "minecraft:type_family": {
        "family": [
          "cosmaw",
          "mob"
        ]
      },
      "minecraft:loot": {
        "table": "loot_tables/entities/phantom.json"
      },
      "minecraft:nameable": {
        "alwaysShow": false,
        "allowNameTagRenaming": false
      },
      "minecraft:health": {
        "value": 20,
        "max": 20
      },
      "minecraft:physics": {
        "has_gravity": false
      },
      "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:follow_range": {
        "value": 64,
        "max": 64
      },
      "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 ? 10 : 0"
      },
      "minecraft:underwater_movement": {
        "value": 0.02
      },
      "minecraft:flying_speed": {
        "value": 0.01
      },
      "minecraft:scale": {
        "value": 1
      },
      "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:fire_immune": true,
      "minecraft:lookat": {
        "allow_invulnerable": false,
        "filters": {
          "test": "has_target"
        },
        "search_radius": 10.0,
        "set_target": true
      }
    },
    "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": []
        }
      }
    }
  }
}