{
   "format_version":"1.21.0",
   "minecraft:entity":{
      "description":{
         "identifier":"minecraft:player",
         "spawn_category":"creature",
         "is_spawnable":false,
         "is_summonable":false,
         "scripts":{
            "animate":[
               "m9_player",
               "m1911_player",
               "micro_uzi_player",
               "mk16_player",
               "mk16_scope_4x_player",
               "mk16_scope_6x_player",
               "hk416_player",
               "hk416_scope_4x_player",
               "hk416_scope_6x_player",
               "ak47_player",
               "ak47_scope_4x_player",
               "ak47_scope_6x_player"
            ]
         },
         "animations":{
            "m9_player":"controller.animation.m9_player",
            "m1911_player":"controller.animation.m1911_player",
            "micro_uzi_player":"controller.animation.micro_uzi_player",
            "mk16_player":"controller.animation.mk16_player",
            "mk16_scope_4x_player":"controller.animation.mk16_scope_4x_player",
            "mk16_scope_6x_player":"controller.animation.mk16_scope_6x_player",
            "hk416_player":"controller.animation.hk416_player",
            "hk416_scope_4x_player":"controller.animation.hk416_scope_4x_player",
            "hk416_scope_6x_player":"controller.animation.hk416_scope_6x_player",
            "ak47_player":"controller.animation.ak47_player",
            "ak47_scope_4x_player":"controller.animation.ak47_scope_4x_player",
            "ak47_scope_6x_player":"controller.animation.ak47_scope_6x_player"
         }
      },
      "component_groups":{
         "m9_shooting":{
            "minecraft:spawn_entity":{
               "entities":[
                  {
                     "min_wait_time":0,
                     "max_wait_time":0,
                     "single_use":true,
                     "spawn_entity":"true:bullet",
                     "spawn_event":"true:to_m9",
                     "num_to_spawn":1
                  }
               ]
            }
         },
         "m1911_shooting":{
            "minecraft:spawn_entity":{
               "entities":[
                  {
                     "min_wait_time":0,
                     "max_wait_time":0,
                     "single_use":true,
                     "spawn_entity":"true:bullet",
                     "spawn_event":"true:to_m1911",
                     "num_to_spawn":1
                  }
               ]
            }
         },
         "micro_uzi_shooting":{
            "minecraft:spawn_entity":{
               "entities":[
                  {
                     "min_wait_time":0,
                     "max_wait_time":0,
                     "single_use":true,
                     "spawn_entity":"true:bullet",
                     "spawn_event":"true:to_micro_uzi",
                     "num_to_spawn":1
                  }
               ]
            }
         },
         "mk16_shooting":{
            "minecraft:spawn_entity":{
               "entities":[
                  {
                     "min_wait_time":0,
                     "max_wait_time":0,
                     "single_use":true,
                     "spawn_entity":"true:bullet",
                     "spawn_event":"true:to_mk16",
                     "num_to_spawn":1
                  }
               ]
            }
         },
         "hk416_shooting":{
            "minecraft:spawn_entity":{
               "entities":[
                  {
                     "min_wait_time":0,
                     "max_wait_time":0,
                     "single_use":true,
                     "spawn_entity":"true:bullet",
                     "spawn_event":"true:to_hk416",
                     "num_to_spawn":1
                  }
               ]
            }
         },
         "ak47_shooting":{
            "minecraft:spawn_entity":{
               "entities":[
                  {
                     "min_wait_time":0,
                     "max_wait_time":0,
                     "single_use":true,
                     "spawn_entity":"true:bullet",
                     "spawn_event":"true:to_ak47",
                     "num_to_spawn":1
                  }
               ]
            }
         },
         "minecraft:add_raid_omen":{
            "minecraft:spell_effects":{
               "add_effects":[
                  {
                     "effect":"raid_omen",
                     "duration":30,
                     "display_on_screen_animation":true
                  }
               ],
               "remove_effects":"bad_omen"
            },
            "minecraft:timer":{
               "time":[
                  0.0,
                  0.0
               ],
               "looping":false,
               "time_down_event":{
                  "event":"minecraft:clear_add_raid_omen",
                  "target":"self"
               }
            }
         },
         "minecraft:clear_raid_omen_spell_effect":{
            "minecraft:spell_effects":{
               
            }
         },
         "minecraft:raid_trigger":{
            "minecraft:raid_trigger":{
               "triggered_event":{
                  "event":"minecraft:remove_raid_trigger",
                  "target":"self"
               }
            }
         }
      },
      "components":{
         "minecraft:experience_reward":{
            "on_death":"Math.Min(query.player_level * 7, 100)"
         },
         "minecraft:type_family":{
            "family":[
               "player"
            ]
         },
         "minecraft:is_hidden_when_invisible":{
            
         },
         "minecraft:break_blocks":{
            "breakable_blocks":[
               "glass",
               "glass_pane",
               "stained_glass",
               "stained_glass_pane"
            ]
         },
         "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:exhaustion_values":{
            "heal":6,
            "jump":0.05,
            "sprint_jump":0.2,
            "mine":0.005,
            "attack":0.1,
            "damage":0.1,
            "walk":0.0,
            "sprint":0.1,
            "swim":0.01
         },
         "minecraft:player.saturation":{
            "value":5,
            "max":20
         },
         "minecraft:player.exhaustion":{
            "value":0,
            "max":20
         },
         "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":{
            "push_towards_closest_space":true
         },
         "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:conditional_bandwidth_optimization":{
            
         },
         "minecraft:block_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:trigger_raid"
               },
               {
                  "filters":{
                     "all_of":[
                        {
                           "test":"has_equipment",
                           "subject":"self",
                           "domain":"hand",
                           "value":"true:m9"
                        },
                        {
                           "test":"is_sneaking",
                           "subject":"self",
                           "operator":"equals",
                           "value":true
                        }
                     ]
                  },
                  "event":"true:red_dot_sight"
               },
               {
                  "filters":{
                     "all_of":[
                        {
                           "test":"has_equipment",
                           "subject":"self",
                           "domain":"hand",
                           "value":"true:m9"
                        },
                        {
                           "test":"is_sneaking",
                           "subject":"self",
                           "operator":"equals",
                           "value":false
                        }
                     ]
                  },
                  "event":"true:red_dot_sight_remove"
               },
               {
                  "filters":{
                     "all_of":[
                        {
                           "test":"has_equipment",
                           "subject":"self",
                           "domain":"hand",
                           "value":"true:m1911"
                        },
                        {
                           "test":"is_sneaking",
                           "subject":"self",
                           "operator":"equals",
                           "value":true
                        }
                     ]
                  },
                  "event":"true:red_dot_sight"
               },
               {
                  "filters":{
                     "all_of":[
                        {
                           "test":"has_equipment",
                           "subject":"self",
                           "domain":"hand",
                           "value":"true:m1911"
                        },
                        {
                           "test":"is_sneaking",
                           "subject":"self",
                           "operator":"equals",
                           "value":false
                        }
                     ]
                  },
                  "event":"true:red_dot_sight_remove"
               },
               {
                  "filters":{
                     "all_of":[
                        {
                           "test":"has_equipment",
                           "subject":"self",
                           "domain":"hand",
                           "value":"true:micro_uzi"
                        },
                        {
                           "test":"is_sneaking",
                           "subject":"self",
                           "operator":"equals",
                           "value":true
                        }
                     ]
                  },
                  "event":"true:red_dot_sight"
               },
               {
                  "filters":{
                     "all_of":[
                        {
                           "test":"has_equipment",
                           "subject":"self",
                           "domain":"hand",
                           "value":"true:micro_uzi"
                        },
                        {
                           "test":"is_sneaking",
                           "subject":"self",
                           "operator":"equals",
                           "value":false
                        }
                     ]
                  },
                  "event":"true:red_dot_sight_remove"
               },
               {
                  "filters":{
                     "all_of":[
                        {
                           "test":"has_equipment",
                           "subject":"self",
                           "domain":"hand",
                           "value":"true:mk16_scope_4x"
                        },
                        {
                           "test":"is_sneaking",
                           "subject":"self",
                           "operator":"equals",
                           "value":true
                        }
                     ]
                  },
                  "event":"true:scope_4x"
               },
               {
                  "filters":{
                     "all_of":[
                        {
                           "test":"has_equipment",
                           "subject":"self",
                           "domain":"hand",
                           "value":"true:mk16_scope_4x"
                        },
                        {
                           "test":"is_sneaking",
                           "subject":"self",
                           "operator":"equals",
                           "value":false
                        }
                     ]
                  },
                  "event":"true:scope_4x_remove"
               },
               {
                  "filters":{
                     "all_of":[
                        {
                           "test":"has_equipment",
                           "subject":"self",
                           "domain":"hand",
                           "value":"true:mk16_scope_6x"
                        },
                        {
                           "test":"is_sneaking",
                           "subject":"self",
                           "operator":"equals",
                           "value":true
                        }
                     ]
                  },
                  "event":"true:scope_6x"
               },
               {
                  "filters":{
                     "all_of":[
                        {
                           "test":"has_equipment",
                           "subject":"self",
                           "domain":"hand",
                           "value":"true:mk16_scope_6x"
                        },
                        {
                           "test":"is_sneaking",
                           "subject":"self",
                           "operator":"equals",
                           "value":false
                        }
                     ]
                  },
                  "event":"true:scope_6x_remove"
               },
               {
                  "filters":{
                     "all_of":[
                        {
                           "test":"has_equipment",
                           "subject":"self",
                           "domain":"hand",
                           "value":"true:hk416_scope_4x"
                        },
                        {
                           "test":"is_sneaking",
                           "subject":"self",
                           "operator":"equals",
                           "value":true
                        }
                     ]
                  },
                  "event":"true:scope_4x"
               },
               {
                  "filters":{
                     "all_of":[
                        {
                           "test":"has_equipment",
                           "subject":"self",
                           "domain":"hand",
                           "value":"true:hk416_scope_4x"
                        },
                        {
                           "test":"is_sneaking",
                           "subject":"self",
                           "operator":"equals",
                           "value":false
                        }
                     ]
                  },
                  "event":"true:scope_4x_remove"
               },
               {
                  "filters":{
                     "all_of":[
                        {
                           "test":"has_equipment",
                           "subject":"self",
                           "domain":"hand",
                           "value":"true:hk416_scope_6x"
                        },
                        {
                           "test":"is_sneaking",
                           "subject":"self",
                           "operator":"equals",
                           "value":true
                        }
                     ]
                  },
                  "event":"true:scope_6x"
               },
               {
                  "filters":{
                     "all_of":[
                        {
                           "test":"has_equipment",
                           "subject":"self",
                           "domain":"hand",
                           "value":"true:hk416_scope_6x"
                        },
                        {
                           "test":"is_sneaking",
                           "subject":"self",
                           "operator":"equals",
                           "value":false
                        }
                     ]
                  },
                  "event":"true:scope_6x_remove"
               },
               {
                  "filters":{
                     "all_of":[
                        {
                           "test":"has_equipment",
                           "subject":"self",
                           "domain":"hand",
                           "value":"true:ak47_scope_4x"
                        },
                        {
                           "test":"is_sneaking",
                           "subject":"self",
                           "operator":"equals",
                           "value":true
                        }
                     ]
                  },
                  "event":"true:scope_4x"
               },
               {
                  "filters":{
                     "all_of":[
                        {
                           "test":"has_equipment",
                           "subject":"self",
                           "domain":"hand",
                           "value":"true:ak47_scope_4x"
                        },
                        {
                           "test":"is_sneaking",
                           "subject":"self",
                           "operator":"equals",
                           "value":false
                        }
                     ]
                  },
                  "event":"true:scope_4x_remove"
               },
               {
                  "filters":{
                     "all_of":[
                        {
                           "test":"has_equipment",
                           "subject":"self",
                           "domain":"hand",
                           "value":"true:ak47_scope_6x"
                        },
                        {
                           "test":"is_sneaking",
                           "subject":"self",
                           "operator":"equals",
                           "value":true
                        }
                     ]
                  },
                  "event":"true:scope_6x"
               },
               {
                  "filters":{
                     "all_of":[
                        {
                           "test":"has_equipment",
                           "subject":"self",
                           "domain":"hand",
                           "value":"true:ak47_scope_6x"
                        },
                        {
                           "test":"is_sneaking",
                           "subject":"self",
                           "operator":"equals",
                           "value":false
                        }
                     ]
                  },
                  "event":"true:scope_6x_remove"
               },
               {
                  "filters":{
                     "all_of":[
                        {
                           "test":"has_equipment",
                           "subject":"self",
                           "domain":"torso",
                           "value":"true:zombie_flesh_chestplate_leather"
                        },
                        {
                           "test":"in_water",
                           "subject":"self",
                           "operator":"equals",
                           "value":true
                        }
                     ]
                  },
                  "event":"true:remove_zombie_flesh_chestplate_leather"
               },
               {
                  "filters":{
                     "all_of":[
                        {
                           "test":"has_equipment",
                           "subject":"self",
                           "domain":"torso",
                           "value":"true:zombie_flesh_chestplate_iron"
                        },
                        {
                           "test":"in_water",
                           "subject":"self",
                           "operator":"equals",
                           "value":true
                        }
                     ]
                  },
                  "event":"true:remove_zombie_flesh_chestplate_iron"
               },
               {
                  "filters":{
                     "all_of":[
                        {
                           "test":"has_equipment",
                           "subject":"self",
                           "domain":"torso",
                           "value":"true:zombie_flesh_chestplate_diamond"
                        },
                        {
                           "test":"in_water",
                           "subject":"self",
                           "operator":"equals",
                           "value":true
                        }
                     ]
                  },
                  "event":"true:remove_zombie_flesh_chestplate_diamond"
               }
            ]
         }
      },
      "events":{
         "true:red_dot_sight":{
            "queue_command":{
               "command":[
                  "effect @s slowness 1 1 true"
               ]
            }
         },
         "true:red_dot_sight_remove":{
            "queue_command":{
               "command":[
                  "effect @s slowness 0 0 true"
               ]
            }
         },
         "true:scope_4x":{
            "queue_command":{
               "command":[
                  "effect @s slowness 1 4 true"
               ]
            }
         },
         "true:scope_4x_remove":{
            "queue_command":{
               "command":[
                  "effect @s slowness 0 0 true"
               ]
            }
         },
         "true:scope_6x":{
            "queue_command":{
               "command":[
                  "effect @s slowness 1 6 true"
               ]
            }
         },
         "true:scope_6x_remove":{
            "queue_command":{
               "command":[
                  "effect @s slowness 0 0 true"
               ]
            }
         },
         "true:m9_shoot":{
            "add":{
               "component_groups":[
                  "m9_shooting"
               ]
            }
         },
         "true:m1911_shoot":{
            "add":{
               "component_groups":[
                  "m1911_shooting"
               ]
            }
         },
         "true:micro_uzi_shoot":{
            "add":{
               "component_groups":[
                  "micro_uzi_shooting"
               ]
            }
         },
         "true:mk16_shoot":{
            "add":{
               "component_groups":[
                  "mk16_shooting"
               ]
            }
         },
         "true:hk416_shoot":{
            "add":{
               "component_groups":[
                  "hk416_shooting"
               ]
            }
         },
         "true:ak47_shoot":{
            "add":{
               "component_groups":[
                  "ak47_shooting"
               ]
            }
         },
         "true:remove_zombie_flesh_chestplate_starter":{
            "queue_command":{
               "command":[
                  "function attachable_systems/remove_zombie_chestplate_starter"
               ]
            }
         },
         "true:remove_zombie_flesh_chestplate_leather":{
            "queue_command":{
               "command":[
                  "function attachable_systems/remove_zombie_chestplate_leather"
               ]
            }
         },
         "true:remove_zombie_flesh_chestplate_iron":{
            "queue_command":{
               "command":[
                  "function attachable_systems/remove_zombie_chestplate_iron"
               ]
            }
         },
         "true:remove_zombie_flesh_chestplate_diamond":{
            "queue_command":{
               "command":[
                  "function attachable_systems/remove_zombie_chestplate_diamond"
               ]
            }
         },
         "minecraft:gain_raid_omen":{
            "add":{
               "component_groups":[
                  "minecraft:add_raid_omen"
               ]
            }
         },
         "minecraft:clear_add_raid_omen":{
            "remove":{
               "component_groups":[
                  "minecraft:add_raid_omen"
               ]
            },
            "add":{
               "component_groups":[
                  "minecraft:clear_raid_omen_spell_effect"
               ]
            }
         },
         "minecraft:trigger_raid":{
            "add":{
               "component_groups":[
                  "minecraft:raid_trigger"
               ]
            }
         },
         "minecraft:remove_raid_trigger":{
            "remove":{
               "component_groups":[
                  "minecraft:raid_trigger"
               ]
            }
         }
      }
   }
}