{
  "format_version": "1.11",
  "minecraft:entity": {
    "description": {
      "identifier": "minecraft:player",
      "is_spawnable": false,
      "is_summonable": false,
      "is_experimental": false,
      "scripts": {
        "animate": [
          "walk",
          "pa:cun",
          "pa:lol",
          "pa:lil"
        ]
      },
      "animations": {
        "walk": "controller.animation.walk",
        "pa:cun": "controller.animation.pa_cun",
        "pa:lol": "controller.animation.pa_lol",
        "pa:lil": "controller.animation.pa_lil"
      }
    },
    "component_groups": {
      "pamobile:respawn": {
        "minecraft:mark_variant": {
          "value": 99999
        },
        "minecraft:health": {
          "value": 20,
          "max": 20
        },
        "minecraft:movement": {
          "value": 0.1
        },
        "minecraft:attack": {
          "damage": 1
        },
        "minecraft:spell_effects": {
          "remove_effects": []
        }
      },
      "ammo:1": {
        "minecraft:mark_variant": {
          "value": 1
        }
      },
      "pa:cun_fire": {
        "minecraft:spawn_entity": [
          {
            "min_wait_time": 0,
            "max_wait_time": 0,
            "single_use": true,
            "spawn_entity": "pa:cun",
            "num_to_spawn": 1
          }
        ]
      },
      "pa:lol_fire": {
        "minecraft:spawn_entity": [
          {
            "min_wait_time": 0,
            "max_wait_time": 0,
            "single_use": true,
            "spawn_entity": "pa:lol",
            "num_to_spawn": 1
          }
        ]
      },
      "pa:lil_fire": {
        "minecraft:spawn_entity": [
          {
            "min_wait_time": 0,
            "max_wait_time": 0,
            "single_use": true,
            "spawn_entity": "pa:lil",
            "num_to_spawn": 1
          }
        ]
      }
    },
    "components": {
      "minecraft:type_family": {
        "family": [
          "player"
        ]
      },
      "minecraft:loot": {
        "table": "loot_tables/empty.json"
      },
      "minecraft:collision_box": {
        "width": 0.6,
        "height": 1.8
      },
      "minecraft:can_climb": {},
      "minecraft:movement": {
        "value": 0.1
      },
      "minecraft:environment_sensor": [
        {
          "on_environment": {
            "filters": {
              "any_of": [
                {
                  "test": "is_family",
                  "subject": "self",
                  "value": "player"
                }
              ]
            },
            "event": "pamobile:refresh_player"
          }
        },
        {
          "on_environment": {
            "filters": {
              "all_of": [
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "pa:cun"
                },
                {
                  "test": "is_family",
                  "subject": "self",
                  "value": "player"
                }
              ]
            },
            "event": "ammo:1"
          }
        },
        {
          "on_environment": {
            "filters": {
              "all_of": [
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "pa:lol"
                },
                {
                  "test": "is_family",
                  "subject": "self",
                  "value": "player"
                }
              ]
            },
            "event": "ammo:1"
          }
        },
        {
          "on_environment": {
            "filters": {
              "all_of": [
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "pa:lil"
                },
                {
                  "test": "is_family",
                  "subject": "self",
                  "value": "player"
                }
              ]
            },
            "event": "ammo:1"
          }
        }
      ],
      "minecraft:player.saturation": {
        "value": 20
      },
      "minecraft:player.exhaustion": {
        "value": 0,
        "max": 4
      },
      "minecraft:player.level": {
        "value": 0,
        "max": 24791
      },
      "minecraft:player.experience": {
        "value": 0,
        "max": 1
      },
      "minecraft:breathable": {
        "totalSupply": 15,
        "suffocateTime": -1,
        "inhaleTime": 3.75,
        "generatesBubbles": false
      },
      "minecraft:nameable": {
        "alwaysShow": true,
        "allowNameTagRenaming": false
      },
      "minecraft:physics": {},
      "minecraft:insomnia": {
        "days_until_insomnia": 3
      },
      "minecraft:rideable": {
        "seat_count": 2,
        "family_types": [
          "parrot_tame"
        ],
        "pull_in_entities": true,
        "seats": [
          {
            "position": [
              0.4,
              -0.15,
              0.04
            ],
            "min_rider_count": 0,
            "max_rider_count": 0,
            "lock_rider_rotation": 0
          },
          {
            "position": [
              -0.4,
              -0.15,
              0.04
            ],
            "min_rider_count": 1,
            "max_rider_count": 2,
            "lock_rider_rotation": 0
          }
        ]
      },
      "minecraft:scaffolding_climber": {}
    },
    "events": {
      "pamobile:refresh_player": {
        "add": {
          "component_groups": [
            "pamobile:respawn"
          ]
        },
        "remove": {
          "component_groups": []
        }
      },
      "minecraft:entity_spawned": {
        "add": {
          "component_groups": [
            "pamobile:respawn"
          ]
        },
        "remove": {}
      },
      "ammo:1": {
        "remove": {
          "component_groups": [
            "ammo:1"
          ]
        },
        "add": {
          "component_groups": [
            "ammo:1"
          ]
        }
      },
      "ammo:2": {
        "remove": {
          "component_groups": [
            "ammo:2"
          ]
        },
        "add": {
          "component_groups": [
            "ammo:2"
          ]
        }
      },
      "pa:cun_fire": {
        "add": {
          "component_groups": [
            "pa:cun_fire"
          ]
        }
      },
      "pa:lol_fire": {
        "add": {
          "component_groups": [
            "pa:lol_fire"
          ]
        }
      },
      "pa:lil_fire": {
        "add": {
          "component_groups": [
            "pa:lil_fire"
          ]
        }
      }
    }
  }
}