{
	"format_version": "1.10.0",
	"animation_controllers": {
	  "controller.animation.entity.nicothekid_piglin_crates_trader.attack": {
			"initial_state": "default",
			"states": {
			  "default": {
					"transitions": [
						{
							"attack_hand": "variable.has_target && !query.is_item_equipped && variable.attack_time >= 0.0 && !query.is_admiring"
						},
						{
							"attack_melee": "variable.has_target && query.is_item_equipped && variable.attack_time >= 0.0 && !query.is_admiring"
						},
						{
							"attack_crossbow_hold": "query.variant == 0 && variable.attack_state == 1 && !query.is_admiring"
						},
						{
							"attack_crossbow_charge": "query.variant == 0 && variable.attack_state == 2 && !query.is_admiring"
						}
					]
				},
				"attack_hand": {
					"animations": [ "attack_hand" ],
					"transitions": [
						{
							"default": "query.is_item_equipped || !variable.has_target || variable.attack_time < 0.0 ||  query.is_admiring"
						}
					]
				},
				"attack_melee": {
					"animations": [ "attack_melee" ],
					"transitions": [
						{
							"default": "!query.is_item_equipped || !variable.has_target || variable.attack_time < 0.0 ||  query.is_admiring"
						}
					]
				},
				"attack_crossbow_hold": {
					"animations": [ "attack_crossbow_hold" ],
					"transitions": [
						{
							"default": "variable.attack_state == 0  ||  query.is_admiring"
						},
						{
							"attack_crossbow_charge": "variable.attack_state == 2"
						}
					]
				},
				"attack_crossbow_charge": {
					"animations": [ "attack_crossbow_charge" ],
					"transitions": [
						{
							"default": "variable.attack_state == 0  ||  query.is_admiring"
						},
						{
							"attack_crossbow_hold": "variable.attack_state == 1"
						}
					]
				}
			}
		},
	  "controller.animation.entity.nicothekid_piglin_crates_trader.look_at_target": {
			"initial_state": "default",
			"states": {
				"default": {
					"animations": [ "look_at_target_default" ],
					"transitions": [
						{
							"gliding": "query.is_gliding"
						},
						{
							"swimming": "query.is_swimming || query.is_crawling"
						}
					]
				},
				"gliding": {
					"animations": [ "look_at_target_gliding" ],
					"transitions": [
						{
							"swimming": "query.is_swimming || query.is_crawling"
						},
						{
							"default": "!query.is_gliding"
						}
					]
				},
				"swimming": {
					"animations": [ "look_at_target_swimming" ],
					"transitions": [
						{
							"gliding": "query.is_gliding"
						},
						{
							"default": "!query.is_swimming && !query.is_crawling"
						}
					]
				}
			}
		},
		"controller.animation.entity.nicothekid_piglin_crates_trader.riding": {
			"initial_state": "default",
			"states": {
				"default": {
					"transitions": [
						{
							"riding": "query.is_riding"
						}
					]
				},
				"riding": {
					"animations": [
					  "riding_arms",
					  "riding_legs"
					],
					"transitions": [
						{
							"default": "!query.is_riding"
						}
					]
				}
			}
		}
	}
}
