{
  "format_version": "1.16.0",
  "minecraft:entity": {
    "description": {
      "identifier": "sao:player",
      "is_spawnable": true,
      "is_summonable": true,
      "is_experimental": false
    },
    "component_groups": {
      "minecraft:male": {
        "minecraft:variant": {
          "value": 0
        }
      },
      "minecraft:female": {
        "minecraft:variant": {
          "value": 1
        }
      }
    },
    "components": {
      "minecraft:type_family": {
        "family": [
          "player"
        ]
      },
      "minecraft:breathable": {
        "totalSupply": 15,
        "suffocateTime": 0
      },
      "minecraft:collision_box": {
        "width": 0.6,
        "height": 1.9
      },
      "minecraft:experience_reward": {
		"on_death": "query.last_hit_by_player ? 10"
	  },
      "minecraft:equipment": {
        "table": "loot_tables/entities/player_gear.json"
      },
      "minecraft:loot": {
        "table": "loot_tables/empty.json"
      },
      "minecraft:health": {
        "value": 25,
        "max": 25
      },
      "minecraft:boss": {
        "should_darken_sky": false,
        "name": " Player", 
        "hud_range": 5
      },
      "minecraft:attack": {
        "damage": 1
      },
      "minecraft:movement": {
        "value": {
          "range_min": 0.23,
          "range_max": 0.23
        }
      },
      "minecraft:scale": {
        "value": 1.0
      },
      "minecraft:navigation.walk": {
        "can_float": true,
        "avoid_water": false,
        "avoid_damage_blocks": true
      },
      "minecraft:movement.basic": {},
      "minecraft:jump.static": {},
      "minecraft:nameable": {},
      "minecraft:balloonable": {},
      "minecraft:behavior.float": {
        "priority": 0
      },
      "minecraft:behavior.melee_attack": {
        "priority": 1,
        "speed_multiplier": 1.4,
        "track_target": false
      },
      "minecraft:behavior.move_towards_restriction": {
        "priority": 4,
        "speed_multiplier": 1
      },
      "minecraft:behavior.random_stroll": {
        "priority": 6,
        "speed_multiplier": 0.7
      },
      "minecraft:behavior.look_at_player": {
        "priority": 7,
        "look_distance": 6,
        "probability": 0.02
      },
      "minecraft:behavior.random_look_around": {
        "priority": 8
      },
      "minecraft:behavior.hurt_by_target": {
        "priority": 1
      },
      "minecraft:on_death": {
        "event": "tm:reputation",
        "target": "self"
      },
      "minecraft:behavior.nearest_attackable_target": {
        "priority": 1,
        "within_radius": 7.5,
        "entity_types": [
          {
            "filters": {
              "other_with_families": [
                "monster",
                "boss",
                "player_assassin"
              ]
            },
            "max_dist": 45
          }
        ]
      },
      "minecraft:physics": {}
    },
    "events": {
      "tm:reputation": {
          "run_command": {
              "command": [
                  "event entity @p[r=3] reputation:bad"
              ]
          }
      },
      "minecraft:entity_spawned": {
        "sequence": [
          {
            "randomize": [
              {
                "weight": 5000,
                "add": {
                  "component_groups": [
                    "minecraft:male"
                  ]
                }
              },
              {
                "weight": 5000,
                "add": {
                  "component_groups": [
                    "minecraft:female"
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}