{
	"format_version" : "1.10.0",
	"animation_controllers" : {
		"controller.animation.player.crossbow" : {
			"initial_state" : "default",
			"states" : {
				"charge" : {
					"animations" : [ "third_person_crossbow_equipped" ],
					"transitions" : [
						{
							"default" : "query.get_equipped_item_name != 'crossbow' || (query.item_remaining_use_duration <= 0.0 && !query.item_is_charged)"
						},
						{
							"hold" : "query.item_is_charged"
						}
					]
				},
				"default" : {
					"transitions" : [
						{
							"hold" : "query.item_is_charged"
						},
						{
							"charge" : "query.item_remaining_use_duration > 0.0"
						}
					]
				},
				"hold" : {
					"animations" : [ "crossbow_hold" ],
					"transitions" : [
						{
							"default" : "query.get_equipped_item_name != 'crossbow' || (query.item_remaining_use_duration <= 0.0 && !query.item_is_charged)"
						},
						{
							"charge" : "query.item_remaining_use_duration > 0.0"
						}
					]
				}
			}
		},
		"controller.animation.player.first_person_attack" : {
			"initial_state" : "default",
			"states" : {
				"default" : {
					"animations" : [ "first_person_attack_rotation" ],
					"transitions" : [
						{
							"vr_attack" : "variable.is_using_vr"
						}
					]
				},
				"vr_attack" : {
					"animations" : [ "first_person_vr_attack_rotation" ],
					"transitions" : [
						{
							"default" : "!variable.is_using_vr"
						}
					]
				}
			}
		},
		"controller.animation.player.first_person_map" : {
			"initial_state" : "default",
			"states" : {
				"default" : {
					"transitions" : [
						{
							"one_hand" : "query.get_equipped_item_name('off_hand') == 'map' || query.get_equipped_item_name('off_hand') == 'shield'"
						},
						{
							"two_hand" : "query.get_equipped_item_name('off_hand') != 'map' && query.get_equipped_item_name('off_hand') != 'shield'"
						}
					]
				},
				"one_hand" : {
					"animations" : [
						{
							"first_person_map_hold_main_hand" : "query.get_equipped_item_name(0, 1) == 'map'"
						},
						{
							"first_person_map_hold_off_hand" : "query.get_equipped_item_name('off_hand') == 'map' && (query.get_equipped_item_name == 'bow' ? !(variable.item_use_normalized > 0 && variable.item_use_normalized < 1.0) : 1.0)"
						}
					],
					"transitions" : [
						{
							"default" : "query.get_equipped_item_name(0, 1) != 'map' && query.get_equipped_item_name('off_hand') != 'map'"
						},
						{
							"two_hand" : "query.get_equipped_item_name('off_hand') != 'map' && query.get_equipped_item_name('off_hand') != 'shield'"
						}
					]
				},
				"two_hand" : {
					"animations" : [ "first_person_map_hold", "first_person_map_hold_attack" ],
					"transitions" : [
						{
							"default" : "query.get_equipped_item_name(0, 1) != 'map' && query.get_equipped_item_name('off_hand') != 'map'"
						},
						{
							"one_hand" : "query.get_equipped_item_name('off_hand') == 'map' || query.get_equipped_item_name('off_hand') == 'shield'"
						}
					]
				}
			}
		},
		"controller.animation.player.root" : {
			"initial_state" : "first_person",
			"states" : {
				"first_person" : {
					"animations" : [
						"first_person_swap_item",
						{
							"first_person_attack_controller" : "variable.attack_time > 0.0f && query.get_equipped_item_name != 'map'"
						},
						"first_person_base_pose",
						{
							"first_person_empty_hand" : "query.get_equipped_item_name(0, 1) != 'map'"
						},
						{
							"first_person_walk" : "variable.bob_animation"
						},
						{
							"first_person_map_controller" : "(query.get_equipped_item_name(0, 1) == 'map' || query.get_equipped_item_name('off_hand') == 'map')"
						},
						{
							"first_person_crossbow_equipped" : "query.get_equipped_item_name == 'crossbow' && (variable.item_use_normalized > 0 && variable.item_use_normalized < 1.0)"
						}
					],
					"transitions" : [
						{
							"paperdoll" : "variable.is_paperdoll"
						},
						{
							"map_player" : "variable.map_face_icon"
						},
						{
							"third_person" : "!variable.is_first_person"
						}
					]
				},
				"map_player" : {
					"transitions" : [
						{
							"paperdoll" : "variable.is_paperdoll"
						},
						{
							"first_person" : "variable.is_first_person"
						},
						{
							"third_person" : "!variable.map_face_icon && !variable.is_first_person"
						}
					]
				},
				"paperdoll" : {
					"animations" : [ "humanoid_base_pose", "look_at_target_ui", "move.arms", "move.legs", "cape" ],
					"transitions" : [
						{
							"first_person" : "!variable.is_paperdoll && variable.is_first_person"
						},
						{
							"map_player" : "variable.map_face_icon"
						},
						{
							"third_person" : "!variable.is_paperdoll && !variable.is_first_person"
						},
						{
							"rngl_normal" : "return variable.is_rngl && (variable.bored_time = query.life_time + variable.bored_interval);"
						}
					]
				},
				"third_person" : {
					"animations" : [
						"humanoid_base_pose",
						{
							"look_at_target" : "!query.is_sleeping"
						},
						{
							"move.arms": "query.mod.rn_anim_index > 0"
						},
						{
							"move.legs": "query.mod.rn_anim_index > 1"
						},
						"cape",
						{
							"riding.arms" : "query.is_riding"
						},
						{
							"riding.legs" : "query.is_riding"
						},
						"holding",
						{
							"brandish_spear" : "variable.is_brandishing_spear"
						},
						{
							"charging" : "query.is_charging"
						},
						{
							"sneaking" : "query.is_sneaking && !query.is_sleeping"
						},
						"bob",
						{
							"damage_nearby_mobs" : "variable.damage_nearby_mobs"
						},
						{
							"bow_and_arrow" : "query.has_target"
						},
						{
							"swimming" : "variable.swim_amount > 0.0"
						},
						{
							"swimming.legs" : "variable.swim_amount > 0.0"
						},
						{
							"use_item_progress" : "( variable.use_item_interval_progress > 0.0 ) || ( variable.use_item_startup_progress > 0.0 ) && !variable.is_brandishing_spear"
						},
						{
							"sleeping" : "query.is_sleeping && query.is_alive"
						},
						{
							"attack.positions" : "variable.attack_time >= 0.0"
						},
						{
							"attack.rotations" : "variable.attack_time >= 0.0"
						},
						{
							"shield_block_main_hand" : "query.blocking && query.get_equipped_item_name('off_hand') != 'shield' && query.get_equipped_item_name == 'shield'"
						},
						{
							"shield_block_off_hand" : "query.blocking && query.get_equipped_item_name('off_hand') == 'shield'"
						},
						{
							"crossbow_controller" : "query.get_equipped_item_name == 'crossbow'"
						},
						{
							"third_person_bow_equipped" : "query.get_equipped_item_name == 'bow' && (variable.item_use_normalized > 0 && variable.item_use_normalized < 1.0)"
						}
					],
					"transitions" : [
						{
							"paperdoll" : "variable.is_paperdoll"
						},
						{
							"first_person" : "variable.is_first_person"
						},
						{
							"map_player" : "variable.map_face_icon"
						}
					]
				},
				"rngl_normal" : {
					"animations" : ["rn_normal"],
					"transitions" : [
						{
							"rngl_change_piece" : "variable.rn_trigger_change_piece"
						},
						{
							"rngl_click" : "variable.rn_trigger_click"
						},
						{
							"rngl_bored": "query.life_time > variable.bored_time"
						}
					],
					"blend_transition": 0.2
				},
				"rngl_bored":{
					"animations": ["react_bored_1"],
					"transitions": [
						{
							"rngl_change_piece" : "variable.rn_trigger_change_piece"
						},
						{
							"rngl_click" : "variable.rn_trigger_click"
						},
						{
							"rngl_normal": "return query.any_animation_finished && (variable.bored_time = query.life_time + variable.bored_interval);"
						}
					],
					"blend_transition": 0.2
				},
				"rngl_click": {
					"animations" : [ 
						{
							"react_torso_1": "variable.rn_anim_index == 0"
						},
						{
							"react_torso_2": "variable.rn_anim_index == 1"
						}
					],
					"transitions" : [
						{
							"rngl_change_piece" : "variable.rn_trigger_change_piece"
						},
						{
							"rngl_normal" : "return query.any_animation_finished && (variable.bored_time = query.life_time + variable.bored_interval);"
						}
					],
					"blend_transition": 0.2
				},
				"rngl_change_piece" : {
					"animations" : [ 
						{
							"react_arm_1": "variable.rn_anim_index == 0"
						},
						{
							"react_arm_2": "variable.rn_anim_index == 1"
						},
						{
							"react_back_1": "variable.rn_anim_index == 2"
						},
						{
							"react_back_2": "variable.rn_anim_index == 3"
						},
						{
							"react_bottom_1": "variable.rn_anim_index == 4"
						},
						{
							"react_bottom_2": "variable.rn_anim_index == 5"
						},
						{
							"react_bottom_3": "variable.rn_anim_index == 6"
						},
						{
							"react_head_1": "variable.rn_anim_index == 7"
						},
						{
							"react_head_2": "variable.rn_anim_index == 8"
						}
					],
					"transitions" : [
						{
							"rngl_change_piece" : "variable.rn_trigger_change_piece"
						},
						{
							"rngl_normal" : "return query.any_animation_finished && (variable.bored_time = query.life_time + variable.bored_interval);"
						}
					],
					"blend_transition": 0.2
				}
			}
		}
	}
}