{
  "format_version": "1.26.0",
  "minecraft:entity": {
    "description": {
      "identifier": "minecraft:player",
      "is_experimental": false,
      "is_summonable": false,
      "is_spawnable": false,
      "spawn_category": "misc"
    },
    "components": {
      "minecraft:attack": {
        "damage": 1
      },
      "minecraft:block_climber": {},
      "minecraft:breathable": {
        "generates_bubbles": false,
        "inhale_time": 3.75,
        "suffocate_time": -1,
        "total_supply": 15
      },
      "minecraft:can_climb": {},
      "minecraft:collision_box": {
        "height": 1.8,
        "width": 0.6
      },
      "minecraft:conditional_bandwidth_optimization": {},
      "minecraft:environment_sensor": {
        "triggers": {
          "event": "minecraft:trigger_raid",
          "filters": {
            "all_of": [
              {
                "subject": "self",
                "test": "has_mob_effect",
                "value": "bad_omen"
              },
              {
                "subject": "self",
                "test": "is_in_village",
                "value": true
              }
            ]
          }
        }
      },
      "minecraft:exhaustion_values": {
        "swim": 0.01,
        "sprint": 0.1,
        "jump": 0.05,
        "attack": 0.1,
        "damage": 0.1,
        "heal": 6,
        "sprint_jump": 0.2,
        "mine": 0.005,
        "walk": 0.0
      },
      "minecraft:experience_reward": {
        "on_death": {
          "expression": "Math.Min(query.player_level * 7, 100)",
          "version": 6
        }
      },
      "minecraft:hurt_on_condition": {
        "damage_conditions": [
          {
            "cause": "lava",
            "damage_per_tick": 4,
            "filters": {
              "operator": "==",
              "test": "in_lava",
              "subject": "self",
              "value": true
            }
          }
        ]
      },
      "minecraft:insomnia": {
        "days_until_insomnia": 3
      },
      "minecraft:is_hidden_when_invisible": {},
      "minecraft:loot": {
        "table": "loot_tables/empty.json"
      },
      "minecraft:movement": {
        "value": 0.1
      },
      "minecraft:nameable": {
        "allow_name_tag_renaming": false,
        "always_show": true
      },
      "minecraft:physics": {},
      "minecraft:player.exhaustion": {
        "max": 20,
        "value": 0
      },
      "minecraft:player.experience": {
        "max": 1,
        "value": 0
      },
      "minecraft:player.level": {
        "max": 24791,
        "value": 0
      },
      "minecraft:player.saturation": {
        "max": 20,
        "value": 5
      },
      "minecraft:pushable": {
        "is_pushable": false,
        "is_pushable_by_piston": true
      },
      "minecraft:rideable": {
        "family_types": [
          "parrot_tame"
        ],
        "pull_in_entities": true,
        "seat_count": 2,
        "seats": [
          {
            "lock_rider_rotation": 0,
            "min_rider_count": 0,
            "max_rider_count": 0,
            "position": [
              0.4,
              -0.2,
              -0.1
            ]
          },
          {
            "lock_rider_rotation": 0,
            "min_rider_count": 1,
            "max_rider_count": 2,
            "position": [
              -0.4,
              -0.2,
              -0.1
            ]
          }
        ]
      },
      "minecraft:type_family": {
        "family": [
          "player"
        ]
      }
    },
    "component_groups": {
      "minecraft:add_bad_omen": {
        "minecraft:spell_effects": {
          "add_effects": [
            {
              "display_on_screen_animation": true,
              "visible": false,
              "duration": 6000,
              "effect": "bad_omen"
            }
          ]
        },
        "minecraft:timer": {
          "looping": false,
          "time": [
            0.0,
            0.0
          ],
          "time_down_event": {
            "event": "minecraft:clear_add_bad_omen",
            "target": "self"
          }
        }
      },
      "minecraft:clear_bad_omen_spell_effect": {
        "minecraft:spell_effects": {}
      },
      "minecraft:raid_trigger": {
        "minecraft:raid_trigger": {
          "triggered_event": {
            "event": "minecraft:remove_raid_trigger",
            "target": "self"
          }
        },
        "minecraft:spell_effects": {
          "remove_effects": "bad_omen"
        }
      }
    },
    "events": {
      "minecraft:trigger_raid": {
        "add": {
          "component_groups": [
            "minecraft:raid_trigger"
          ]
        }
      },
      "minecraft:clear_add_bad_omen": {
        "add": {
          "component_groups": [
            "minecraft:clear_bad_omen_spell_effect"
          ]
        },
        "remove": {
          "component_groups": [
            "minecraft:add_bad_omen"
          ]
        }
      },
      "minecraft:gain_bad_omen": {
        "add": {
          "component_groups": [
            "minecraft:add_bad_omen"
          ]
        }
      },
      "minecraft:remove_raid_trigger": {
        "remove": {
          "component_groups": [
            "minecraft:raid_trigger"
          ]
        }
      }
    }
  }
}