//bridge-file-version: #0
{
	"format_version": "1.8.0",
	"minecraft:client_entity": {
		"description": {
			"identifier": "mythmob:satyr",
			"materials": {
				"default": "pillager"
			},
			"textures": {
				"default": "textures/entity/mythmob/satyr"
			},
			"geometry": {
				"default": "geometry.satyr"
			},
			"spawn_egg": {
				"base_color": "#898F8F",
				"overlay_color": "#345A2F"
			},
			"scripts": {
				"pre_animation": [
					"variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;",
					"variable.tcos1 = -variable.tcos0;",
					"variable.attack_body_rot_y = Math.sin(Math.sqrt(variable.attack_time) * 360.0) * 11.46;",
					"variable.cos_attack_body_rot_y = Math.cos(variable.attack_body_rot_y);",
					"variable.sin_attack_body_rot_y = Math.sin(variable.attack_body_rot_y);",
					"variable.internal_swim_pos = Math.mod(query.modified_distance_moved, 26.0);",
					"variable.attack = Math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3;",
					"variable.attack2 = Math.sin(variable.attack_time * 180.0) * 57.3;"
				]
			},
			"animations": {
				"humanoid_base_pose": "animation.humanoid.base_pose",
				"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",
				"move": "animation.humanoid.move",
				"riding.arms": "animation.humanoid.riding.arms",
				"riding.legs": "animation.humanoid.riding.legs",
				"holding": "animation.humanoid.holding",
				"attack.rotations": "animation.humanoid.attack.rotations",
				"bob": "animation.humanoid.bob",
				"crossbow_hold": "animation.satyr.crossbow.hold",
				"crossbow_charge": "animation.satyr.crossbow.charge"
			},
			"animation_controllers": [
				{
					"humanoid_base_pose": "controller.animation.humanoid.base_pose"
				},
				{
					"look_at_target": "controller.animation.humanoid.look_at_target"
				},
				{
					"move": "controller.animation.humanoid.move"
				},
				{
					"riding": "controller.animation.humanoid.riding"
				},
				{
					"attack": "controller.animation.humanoid.attack"
				},
				{
					"bob": "controller.animation.humanoid.bob"
				},
				{
					"pillager_attack": "controller.animation.satyr.attack"
				}
			],
			"render_controllers": [
				"controller.render.pillager"
			],
			"enable_attachables": true
		}
	}
}