{
  "format_version": "1.11",
  "minecraft:entity": {
    "description": {
      "identifier": "minecraft:player",
      "is_spawnable": false,
      "is_summonable": false,
      "is_experimental": false,
      "scripts": {
        "animate": [
          "walk"
        ]
      },
      "animations": {
        "walk": "controller.animation.walk"
      }
    },
    "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
        }
      },
      "item:photocamera": {
        "minecraft:health": {
          "value": 20,
          "max": 20
        },
        "minecraft:movement": {
          "value": 0.1
        },
        "minecraft:spell_effects": {
          "add_effects": []
        }
      },
      "item:spiritbox": {
        "minecraft:health": {
          "value": 20,
          "max": 20
        },
        "minecraft:movement": {
          "value": 0.1
        },
        "minecraft:spell_effects": {
          "add_effects": []
        }
      },
      "item:sanitypills": {
        "minecraft:health": {
          "value": 20,
          "max": 20
        },
        "minecraft:movement": {
          "value": 0.1
        },
        "minecraft:spell_effects": {
          "add_effects": []
        }
      },
      "item:thermometer": {
        "minecraft:health": {
          "value": 20,
          "max": 20
        },
        "minecraft:movement": {
          "value": 0.1
        },
        "minecraft:spell_effects": {
          "add_effects": []
        }
      },
      "item:flashlightoff": {
        "minecraft:health": {
          "value": 20,
          "max": 20
        },
        "minecraft:movement": {
          "value": 0.1
        },
        "minecraft:spell_effects": {
          "add_effects": []
        }
      },
      "item:flashlighton": {
        "minecraft:health": {
          "value": 20,
          "max": 20
        },
        "minecraft:movement": {
          "value": 0.1
        },
        "minecraft:spell_effects": {
          "add_effects": []
        }
      },
      "item:smudgesticks": {
        "minecraft:health": {
          "value": 20,
          "max": 20
        },
        "minecraft:movement": {
          "value": 0.1
        },
        "minecraft:spell_effects": {
          "add_effects": []
        }
      },
      "item:glowstick": {
        "minecraft:health": {
          "value": 20,
          "max": 20
        },
        "minecraft:movement": {
          "value": 0.1
        },
        "minecraft:spell_effects": {
          "add_effects": []
        }
      },
      "item:evidencebook": {
        "minecraft:health": {
          "value": 22,
          "max": 22
        },
        "minecraft:movement": {
          "value": 0.1
        },
        "minecraft:spell_effects": {
          "add_effects": []
        }
      },
      "item:tarotcards": {
        "minecraft:health": {
          "value": 20,
          "max": 20
        },
        "minecraft:movement": {
          "value": 0.1
        },
        "minecraft:spell_effects": {
          "add_effects": []
        }
      }
    },
    "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": "item:photocamera"
                }
              ]
            },
            "event": "item:photocamera_event"
          }
        },
        {
          "on_environment": {
            "filters": {
              "all_of": [
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "item:spiritbox"
                }
              ]
            },
            "event": "item:spiritbox_event"
          }
        },
        {
          "on_environment": {
            "filters": {
              "all_of": [
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "item:sanitypills"
                }
              ]
            },
            "event": "item:sanitypills_event"
          }
        },
        {
          "on_environment": {
            "filters": {
              "all_of": [
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "item:thermometer"
                }
              ]
            },
            "event": "item:thermometer_event"
          }
        },
        {
          "on_environment": {
            "filters": {
              "all_of": [
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "item:flashlightoff"
                }
              ]
            },
            "event": "item:flashlightoff_event"
          }
        },
        {
          "on_environment": {
            "filters": {
              "all_of": [
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "item:flashlighton"
                }
              ]
            },
            "event": "item:flashlighton_event"
          }
        },
        {
          "on_environment": {
            "filters": {
              "all_of": [
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "item:smudgesticks"
                }
              ]
            },
            "event": "item:smudgesticks_event"
          }
        },
        {
          "on_environment": {
            "filters": {
              "all_of": [
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "item:glowstick"
                }
              ]
            },
            "event": "item:glowstick_event"
          }
        },
        {
          "on_environment": {
            "filters": {
              "all_of": [
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "item:evidencebook"
                }
              ]
            },
            "event": "item:evidencebook_event"
          }
        },
        {
          "on_environment": {
            "filters": {
              "all_of": [
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "item:tarotcards"
                }
              ]
            },
            "event": "item:tarotcards_event"
          }
        }
      ],
      "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": [
            "item:photocamera",
            "item:spiritbox",
            "item:sanitypills",
            "item:thermometer",
            "item:flashlightoff",
            "item:flashlighton",
            "item:smudgesticks",
            "item:glowstick",
            "item:evidencebook",
            "item:tarotcards"
          ]
        }
      },
      "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"
          ]
        }
      },
      "item:photocamera_event": {
        "add": {
          "component_groups": [
            "item:photocamera"
          ]
        }
      },
      "item:spiritbox_event": {
        "add": {
          "component_groups": [
            "item:spiritbox"
          ]
        }
      },
      "item:sanitypills_event": {
        "add": {
          "component_groups": [
            "item:sanitypills"
          ]
        }
      },
      "item:thermometer_event": {
        "add": {
          "component_groups": [
            "item:thermometer"
          ]
        }
      },
      "item:flashlightoff_event": {
        "add": {
          "component_groups": [
            "item:flashlightoff"
          ]
        }
      },
      "item:flashlighton_event": {
        "add": {
          "component_groups": [
            "item:flashlighton"
          ]
        }
      },
      "item:smudgesticks_event": {
        "add": {
          "component_groups": [
            "item:smudgesticks"
          ]
        }
      },
      "item:glowstick_event": {
        "add": {
          "component_groups": [
            "item:glowstick"
          ]
        }
      },
      "item:evidencebook_event": {
        "add": {
          "component_groups": [
            "item:evidencebook"
          ]
        }
      },
      "item:tarotcards_event": {
        "add": {
          "component_groups": [
            "item:tarotcards"
          ]
        }
      }
    }
  }
}