{
	"format_version": "1.8.0",
	"animations": {
		"animation.mpiglin.crossbow.charge": {
			"loop": true,
			"bones": {
				"leftarm" : {
					"rotation" : [ "math.lerp(-130.0 + 64.38, -90.0, variable.crossbow_charge)  -this", "math.lerp(22.92, 48.70, variable.crossbow_charge) -this", 0.0 ],
					"position": [0, -1, -3]
				},
				"rightarm" : {
					"rotation" : [ "-120.0 + 34.38 -this", "-25.84 -this", 0.0 ],
					"position": [0, -1, -1]
				},
				"leftarm2": {
					"rotation":  ["-50 -this", 0, 0]
				},
				"rightarm2": {
					"rotation":  ["0 -this", 0, 0]
				}
			}
		},
		"animation.mpiglin.celebrate": {
			"loop": true,
			"bones": {
				"leftear": {
					"rotation": [ 0.0, 0.0, "Math.sin(query.time_stamp * 30) * 10" ]
				},
				"rightear": {
					"rotation": [ 0.0, 0.0, "Math.cos(query.time_stamp * 30) * 10" ]
				}
			
			}
		},
		"animation.mpiglin.celebrate_special": {
			"loop": true,
			"bones": {
				"leftear": {
					"rotation": [ 0.0, 0.0, "Math.sin(query.time_stamp * 30) * 10" ]
				},
				"rightear": {
					"rotation": [ 0.0, 0.0, "Math.cos(query.time_stamp * 30) * 10" ]
				},
				"head": {
					"position": [ "Math.sin(query.time_stamp * 10)", "Math.sin(query.time_stamp * 40)", 0.0 ]
				},
				"topbody": {
					"rotation":  [ -15, 0, 0],
					"position": [ "Math.sin(query.time_stamp * 10)", 0.0, 0.0 ]
				},
				"rightarm": {
					"rotation": [ "10 -this", 0.0, "50 + Math.cos(query.time_stamp * 40) * 10"]
				},
				"leftarm": {
					"rotation": [ "10 -this", 0.0, "-50 - Math.cos(query.time_stamp * 40) * 10"]
				},
				"leftarm2": {
					"rotation":  ["-20 -this", 0, 0]
				},
				"rightarm2": {
					"rotation":  ["-20 -this", 0, 0]
				},
				"body": {
					"rotation":  [ -5, 0, 0],
					"position": [ 0.0, "Math.sin(query.time_stamp * 40) * 0.55", 0.0 ]
				}
			}
		},
		"animation.mpiglin.sword.attack" : {
			"bones" : {
				"rightarm2" : {
					"rotation" : [ "0 - this", 0,0 ]
				},
				"rightarm" : {
					"rotation" : [ "-155 + (variable.attack2 * 1.2 - variable.attack * 0.4) + variable.x_bob - this", "20+ variable.attack2 * 0.6 - 5.73 - this", "-10+variable.z_bob - this" ]
				}
			},
			"loop" : true
		},
		"animation.mpiglin.crossbow.hold": {
			"loop": true,
			"bones": {
				"leftarm": {
					
					"rotation": ["-30 -this", 0, 1],
					"position": [0, 0, 0]
				},
				"rightarm": {
					"relative_to": { "rotation": "entity" }, 
					"rotation": ["-85+ 5.73 + math.clamp(query.target_x_rotation, -25, 45) -this", "-2.19 + math.clamp(query.target_y_rotation, -30, 25)-this", -20],
					"position": [0, 0, 0]
				},
				"leftarm2": {
					"rotation": ["-50 -this", 0, 0]
				},
				"rightarm2": {
					"rotation":  ["0 -this", 0, 0]
				}
			}
		},
		"animation.mpiglin.admire": {
			"loop": true,
			"bones": {
				"leftarm": {
					"rotation": ["-100- this", 15, 0]
				},
				"body": {
					"rotation": [-2, 0, 0]
				},
				"topbody": {
					"rotation": [-7, 0, 0]
				},
				"head": {
					"rotation": [35, -5, 10],
					"position": [0, 0, 1.5]
				},
				"leftarm2": {
					"rotation": [30, 0, 0]
				}
			}
		}
	}
}