{
  "format_version": "1.16.0",
  "minecraft:entity": {
    "description": {
      "identifier": "minecraft:player",
      "is_spawnable": false,
      "is_summonable": false,
      "is_experimental": false,
      "scripts": {
        "animate": [
          "morph",
          "system",
          "acro",
          "tip",
          "sprint"
        ]
      },
      "animations": {
        "system": "animation.system",
        "morph": "animation.morph",
        "acro": "animation.acro",
        "tip": "animation.tip",
        "sprint": "controller.animation.sprint"
      }
    },
    "component_groups": {
      "minecraft:add_bad_omen": {
        "minecraft:spell_effects": {
          "add_effects": [
            {
              "effect": "bad_omen",
              "duration": 6000,
              "display_on_screen_animation": true
            }
          ]
        },
        "minecraft:timer": {
          "time": [
            0.0,
            0.0
          ],
          "looping": false,
          "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"
        }
      },
      "ride_dolphin": {
        "minecraft:is_sheared": {

        }
      },
      "jumpboost": {
        "minecraft:spell_effects": {
          "add_effects": [
            {
              "effect": "jump_boost",
              "duration": 999999,
              "amplifier": 5,
              "visible": false,
              "display_on_screen_animation": true
            }
          ]
        }
      },
      "jumpnormal": {
        "minecraft:spell_effects": {
          "remove_effects": "jump_boost"
        }
      },
      "happy": {
        "minecraft:is_ignited": {

        }
      },
      "acro": {
        "minecraft:is_stunned": {
          "add_effects": [
            {
              "effect": "bad_omen",
              "duration": 6000,
              "display_on_screen_animation": true
            }
          ]
        },
        "minecraft:timer": {
          "looping": false,
          "time": 1,
          "time_down_event": {
            "event": "stop",
            "target": "self"
          }
        }
      },
      "dyna1": {
        "minecraft:skin_id": {
          "value": 1
        }
      },
      "dyna2": {
        "minecraft:skin_id": {
          "value": 2
        }
      },
      "dyna3": {
        "minecraft:skin_id": {
          "value": 3
        }
      },
      "dynar": {
        "minecraft:skin_id": {
          "value": 0
        }
      }
    },
    "components": {
      "minecraft:experience_reward": {
        "on_death": "Math.Min(query.player_level * 7, 100)"
      },
      "minecraft:type_family": {
        "family": [
          "player",
          "dtmb"
        ]
      },
      "minecraft:is_hidden_when_invisible": {

      },
      "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:hurt_on_condition": {
        "damage_conditions": [
          {
            "filters": {
              "test": "in_lava",
              "subject": "self",
              "operator": "==",
              "value": true
            },
            "cause": "lava",
            "damage_per_tick": 4
          }
        ]
      },
      "minecraft:attack": {
        "damage": 1
      },
      "minecraft:player.saturation": {
        "value": 20
      },
      "minecraft:player.exhaustion": {
        "value": 0,
        "max": 4
      },
      "minecraft:damage_sensor": {
        "triggers": [
          {
            "cause": "fall",
            "deals_damage": false
          }
        ]
      },
      "minecraft:player.level": {
        "value": 0,
        "max": 24791
      },
      "minecraft:player.experience": {
        "value": 0,
        "max": 1
      },
      "minecraft:breathable": {
        "total_supply": 15,
        "suffocate_time": -1,
        "inhale_time": 3.75,
        "generates_bubbles": false
      },
      "minecraft:nameable": {
        "always_show": true,
        "allow_name_tag_renaming": false
      },
      "minecraft:physics": {

      },
      "minecraft:pushable": {
        "is_pushable": false,
        "is_pushable_by_piston": true
      },
      "minecraft:insomnia": {
        "days_until_insomnia": 3
      },
      "minecraft:rideable": {
        "seat_count": 2,
        "family_types": [
          "parrot_tame"
        ],
        "pull_in_entities": true,
        "seats": [
          {
            "position": [
              0.4,
              -0.2,
              -0.1
            ],
            "min_rider_count": 0,
            "max_rider_count": 0,
            "lock_rider_rotation": 0
          },
          {
            "position": [
              -0.4,
              -0.2,
              -0.1
            ],
            "min_rider_count": 1,
            "max_rider_count": 2,
            "lock_rider_rotation": 0
          }
        ]
      },
      "minecraft:scaffolding_climber": {

      },
      "minecraft:environment_sensor": {
        "triggers": [
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_mob_effect",
                  "subject": "self",
                  "value": "bad_omen"
                },
                {
                  "test": "is_in_village",
                  "subject": "self",
                  "value": true
                }
              ]
            },
            "event": "minecraft:start_raid"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "fish"
                },
                {
                  "test": "has_component",
                  "operator": "==",
                  "value": "minecraft:is_ignited"
                }
              ]
            },
            "event": "powerjump"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "salmon"
                },
                {
                  "test": "has_component",
                  "operator": "==",
                  "value": "minecraft:is_ignited"
                }
              ]
            },
            "event": "powerjump"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "clownfish"
                },
                {
                  "test": "has_component",
                  "operator": "==",
                  "value": "minecraft:is_ignited"
                }
              ]
            },
            "event": "powerjump"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "kelp"
                },
                {
                  "test": "has_component",
                  "operator": "==",
                  "value": "minecraft:is_ignited"
                }
              ]
            },
            "event": "powerjump"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "pufferfish"
                },
                {
                  "test": "has_component",
                  "operator": "==",
                  "value": "minecraft:is_ignited"
                }
              ]
            },
            "event": "powerjump"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "sea_pickle"
                },
                {
                  "test": "has_component",
                  "operator": "==",
                  "value": "minecraft:is_ignited"
                }
              ]
            },
            "event": "powerjump"
          },
          {
            "filters": {
              "none_of": [
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "fish"
                },
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "salmon"
                },
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "clownfish"
                },
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "kelp"
                },
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "pufferfish"
                },
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "sea_pickle"
                },
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "diamond"
                },
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "redstone"
                },
                {
                  "test": "has_equipment",
                  "subject": "self",
                  "domain": "hand",
                  "value": "lapis_lazuli"
                }
              ]
            },
            "event": "stopjump"
          }
        ]
      }
    },
    "events": {
      "minecraft:gain_bad_omen": {
        "add": {
          "component_groups": [
            "minecraft:add_bad_omen"
          ]
        }
      },
      "minecraft:clear_add_bad_omen": {
        "remove": {
          "component_groups": [
            "minecraft:add_bad_omen"
          ]
        },
        "add": {
          "component_groups": [
            "minecraft:clear_bad_omen_spell_effect"
          ]
        }
      },
      "minecraft:trigger_raid": {
        "add": {
          "component_groups": [
            "minecraft:raid_trigger"
          ]
        }
      },
      "minecraft:remove_raid_trigger": {
        "remove": {
          "component_groups": [
            "minecraft:raid_trigger"
          ]
        }
      },
      "stop_dolphin": {
        "remove": {
          "component_groups": [
            "ride_dolphin"
          ]
        }
      },
      "stop_happy": {
        "remove": {
          "component_groups": [
            "happy"
          ]
        }
      },
      "start_dolphin": {
        "add": {
          "component_groups": [
            "ride_dolphin"
          ]
        }
      },
      "start_happy": {
        "add": {
          "component_groups": [
            "happy"
          ]
        }
      },
      "powerjump": {
        "add": {
          "component_groups": [
            "jumpboost"
          ]
        },
        "remove": {
          "component_groups": [
            "jumpnormal"
          ]
        }
      },
      "stopjump": {
        "remove": {
          "component_groups": [
            "jumpboost"
          ]
        },
        "add": {
          "component_groups": [
            "jumpnormal"
          ]
        }
      },
      "dyna1": {
        "remove": {
          "component_groups": [
            "dyna2",
            "dyna3",
            "dynar"
          ]
        },
        "add": {
          "component_groups": [
            "dyna1"
          ]
        }
      },
      "dyna2": {
        "remove": {
          "component_groups": [
            "dyna1",
            "dyna3",
            "dynar"
          ]
        },
        "add": {
          "component_groups": [
            "dyna2"
          ]
        }
      },
      "dyna3": {
        "remove": {
          "component_groups": [
            "dyna2",
            "dyna1",
            "dynar"
          ]
        },
        "add": {
          "component_groups": [
            "dyna3"
          ]
        }
      },
      "dynar": {
        "remove": {
          "component_groups": [
            "dyna3",
            "dyna2",
            "dyna1"
          ]
        },
        "add": {
          "component_groups": [
            "dynar"
          ]
        }
      },
      "start": {
        "add": {
          "component_groups": [
            "acro"
          ]
        }
      },
      "stop": {
        "remove": {
          "component_groups": [
            "acro"
          ]
        }
      }
    }
  }
}
