{
    "format_version": "1.10.0",
    "minecraft:client_entity": {
        "description": {
            "identifier": "minecraft:player",
            "materials": {
                "default": "entity_alphatest",
                "cape": "entity_alphatest",
                "animated": "player_animated"
            },
            "textures": {
                "default": "textures/entity/steve",
                "cape": "textures/entity/cape_invisible",
                "netheritehelmet": "textures/items/netherite_helmet",
                "ironhelmet": "textures/items/iron_helmet",
                "diamondhelmet": "textures/items/diamond_helmet",
                "leatherhelmet": "textures/entity/armor/leather_helmet",
                "turtlehelmet": "textures/items/turtle_helmet",
                "goldhelmet": "textures/items/gold_helmet",
                "chainhelmet": "textures/items/chainmail_helmet",
                "netheritechestplate": "textures/items/netherite_chestplate",
                "elytra": "textures/items/elytra",
                "goldchestplate": "textures/items/gold_chestplate",
                "diamondchestplate": "textures/items/diamond_chestplate",
                "ironchestplate": "textures/items/iron_chestplate",
                "chainchestplate": "textures/items/chainmail_chestplate",
                "leatherchestplate": "textures/entity/armor/leather_chestplate",
                "netheriteleggings": "textures/items/netherite_leggings",
                "goldleggings": "textures/items/gold_leggings",
                "diamondleggings": "textures/items/diamond_leggings",
                "chainleggings": "textures/items/chainmail_leggings",
                "ironleggings": "textures/items/iron_leggings",
                "leatherleggings": "textures/entity/armor/leather_leggings",
                "netheriteboots": "textures/items/netherite_boots",
                "goldboots": "textures/items/gold_boots",
                "diamondboots": "textures/items/diamond_boots",
                "chainboots": "textures/items/chainmail_boots",
                "ironboots": "textures/items/iron_boots",
                "leatherboots": "textures/entity/armor/leather_boots",
                "north": "textures/entity/dhud/North",
                "south": "textures/entity/dhud/South",
                "east": "textures/entity/dhud/East",
                "west": "textures/entity/dhud/West"
            },
            "geometry": {
                "default": "geometry.humanoid.custom",
                "cape": "geometry.cape",
                "dhud": "geometry.dhud",
                "helmet": "geometry.helmet",
                "chestplate": "geometry.chestplate",
                "leggings": "geometry.leggings",
                "boots": "geometry.boots"
            },
            "scripts": {
                "scale": "0.9375",
                "initialize": [
                    "variable.is_holding_right = 0.0;",
                    "variable.is_blinking = 0.0;",
                    "variable.last_blink_time = 0.0;",
                    "variable.hand_bob = 0.0;"
                ],
                "pre_animation": [
                    "variable.helmet_layer_visible = 1.0;",
                    "variable.leg_layer_visible = 1.0;",
                    "variable.boot_layer_visible = 1.0;",
                    "variable.chest_layer_visible = 1.0;",
                    "variable.attack_body_rot_y = Math.sin(360*Math.sqrt(variable.attack_time)) * 5.0;",
                    "variable.tcos0 = (math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;",
                    "variable.first_person_rotation_factor = math.sin((1 - variable.attack_time) * 180.0);",
                    "variable.hand_bob = query.life_time < 0.01 ? 0.0 : variable.hand_bob + ((query.is_on_ground && query.is_alive ? math.clamp(math.sqrt(math.pow(query.position_delta(0), 2.0) + math.pow(query.position_delta(2), 2.0)), 0.0, 0.1) : 0.0) - variable.hand_bob) * 0.02;",
                    "variable.map_angle = math.clamp(1 - variable.player_x_rotation / 45.1, 0.0, 1.0);",
                    "variable.item_use_normalized = query.main_hand_item_use_duration / query.main_hand_item_max_duration;"
                ],
                "animate": [
                    "root",
                    "helmet",
                    "chestplate",
                    "leggings",
                    "boots",
                    "dhud"
                ]
            },
            "animations": {
                "root": "controller.animation.player.root",
                "base_controller": "controller.animation.player.base",
                "hudplayer": "controller.animation.player.hudplayer",
                "humanoid_base_pose": "animation.humanoid.base_pose",
                "look_at_target": "controller.animation.humanoid.look_at_target",
                "look_at_target_ui": "animation.player.look_at_target.ui",
                "look_at_target_default": "animation.humanoid.look_at_target.default",
                "look_at_target_gliding": "animation.humanoid.look_at_target.gliding",
                "look_at_target_swimming": "animation.humanoid.look_at_target.swimming",
                "look_at_target_inverted": "animation.player.look_at_target.inverted",
                "cape": "animation.player.cape",
                "move.arms": "animation.player.move.arms",
                "move.legs": "animation.player.move.legs",
                "swimming": "animation.player.swim",
                "swimming.legs": "animation.player.swim.legs",
                "riding.arms": "animation.player.riding.arms",
                "riding.legs": "animation.player.riding.legs",
                "holding": "animation.player.holding",
                "brandish_spear": "animation.humanoid.brandish_spear",
                "charging": "animation.humanoid.charging",
                "attack.positions": "animation.player.attack.positions",
                "attack.rotations": "animation.player.attack.rotations",
                "sneaking": "animation.player.sneaking",
                "bob": "animation.player.bob",
                "helmet": "animation.player.helmet",
                "chestplate": "animation.player.chestplate",
                "leggings": "animation.player.leggings",
                "boots": "animation.player.boots",
                "dhud": "animation.player.dhud",
                "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs",
                "fishing_rod": "animation.humanoid.fishing_rod",
                "use_item_progress": "animation.humanoid.use_item_progress",
                "skeleton_attack": "animation.skeleton.attack",
                "sleeping": "animation.player.sleeping",
                "first_person_base_pose": "animation.player.first_person.base_pose",
                "first_person_empty_hand": "animation.player.first_person.empty_hand",
                "first_person_swap_item": "animation.player.first_person.swap_item",
                "first_person_attack_controller": "controller.animation.player.first_person_attack",
                "first_person_attack_rotation": "animation.player.first_person.attack_rotation",
                "first_person_vr_attack_rotation": "animation.player.first_person.vr_attack_rotation",
                "first_person_map_controller": "controller.animation.player.first_person_map",
                "first_person_map_hold": "animation.player.first_person.map_hold",
                "first_person_map_hold_attack": "animation.player.first_person.map_hold_attack",
                "first_person_map_hold_off_hand": "animation.player.first_person.map_hold_off_hand",
                "first_person_map_hold_main_hand": "animation.player.first_person.map_hold_main_hand",
                "first_person_crossbow_equipped": "animation.player.first_person.crossbow_equipped",
                "third_person_crossbow_equipped": "animation.player.crossbow_equipped",
                "third_person_bow_equipped": "animation.player.bow_equipped",
                "crossbow_hold": "animation.player.crossbow_hold",
                "crossbow_controller": "controller.animation.player.crossbow",
                "shield_block_main_hand": "animation.player.shield_block_main_hand",
                "shield_block_off_hand": "animation.player.shield_block_off_hand",
                "blink": "controller.animation.persona.blink"
            },
            "render_controllers": [
                {
                    "controller.render.player.first_person": "variable.is_first_person"
                },
                {
                    "controller.render.player.third_person": "!variable.is_first_person && !variable.map_face_icon"
                },
                {
                    "controller.render.player.map": "variable.map_face_icon"
                },
                {
                    "controller.render.player.north": "query.is_in_ui && query.cardinal_facing_2d == 2 && query.is_in_ui"
                },
                {
                    "controller.render.player.south": "query.is_in_ui && query.cardinal_facing_2d == 3 && query.is_in_ui"
                },
                {
                    "controller.render.player.west": "query.is_in_ui && query.cardinal_facing_2d == 4 && query.is_in_ui"
                },
                {
                    "controller.render.player.east": "query.is_in_ui && query.cardinal_facing_2d == 5 && query.is_in_ui"
                },
                {
                    "controller.render.player.netheritehelmet": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(0) == (7)"
                },
                {
                    "controller.render.player.ironhelmet": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(0) == (2)"
                },
                {
                    "controller.render.player.diamondhelmet": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(0) == (3)"
                },
                {
                    "controller.render.player.leatherhelmet": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(0) == (0)"
                },
                {
                    "controller.render.player.turtlehelmet": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(0) == (6)"
                },
                {
                    "controller.render.player.goldhelmet": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(0) == (4)"
                },
                {
                    "controller.render.player.chainhelmet": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(0) == (1)"
                },
                {
                    "controller.render.player.netheritechestplate": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(1) == (7)"
                },
                {
                    "controller.render.player.elytra": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(1) == (5)"
                },
                {
                    "controller.render.player.goldchestplate": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(1) == (4)"
                },
                {
                    "controller.render.player.diamondchestplate": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(1) == (3)"
                },
                {
                    "controller.render.player.ironchestplate": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(1) == (2)"
                },
                {
                    "controller.render.player.chainchestplate": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(1) == (1)"
                },
                {
                    "controller.render.player.leatherchestplate": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(1) == (0)"
                },
                {
                    "controller.render.player.netheriteleggings": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(2) == (7)"
                },
                {
                    "controller.render.player.goldleggings": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(2) == (4)"
                },
                {
                    "controller.render.player.diamondleggings": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(2) == (3)"
                },
                {
                    "controller.render.player.leatherleggings": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(2) == (0)"
                },
                {
                    "controller.render.player.ironleggings": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(2) == (2)"
                },
                {
                    "controller.render.player.chainleggings": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(2) == (1)"
                },
                {
                    "controller.render.player.netheriteboots": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(3) == (7)"
                },
                {
                    "controller.render.player.goldboots": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(3) == (4)"
                },
                {
                    "controller.render.player.diamondboots": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(3) == (3)"
                },
                {
                    "controller.render.player.chainboots": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(3) == (1)"
                },
                {
                    "controller.render.player.ironboots": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(3) == (2)"
                },
                {
                    "controller.render.player.leatherboots": "!query.is_riding && !query.is_gliding && query.is_in_ui && query.armor_texture_slot(3) == (0)"
                }
            ],
            "enable_attachables": true
        }
    }
}