{
	"format_version": "1.10.0",
	"minecraft:client_entity": {
		"description": {
			"identifier": "loadisk:dummy.pterodactyl",
			"materials": {
				"default": "entity_alphatest"
			},
			"textures": {
				"default": "textures/mob/pterodactyl/default"
			},
			"geometry": {
				"default": "geometry.loadisk.pterodactyl"
			},
			"scripts": {
				"scale": "1.0",
				"animate": ["root"],
				"initialize": [
					"v.update_time = 0.0;",
					"v.pitch = 0.0;",
					"v.yaw = 0.0;",
					"v.can_attack = 0.0;"
				],
				"pre_animation": [
					"v.mod = q.modified_distance_moved;",
					"v.update_time = q.modified_distance_moved / 8.2;",
					"v.update_flight = v.mod < 0.3 ? v.mod / 6 : v.mod / 8.2;",
					"v.pitch = q.has_rider > 0.0 ? (q.target_y_rotation(0) >= 0.0 ? -30 + q.target_x_rotation(0) * 2.2 + 10 : -20 + q.target_x_rotation(0) * 1.7) : q.target_y_rotation(0);",
					"v.yaw = q.has_rider > 0.0 ? -q.yaw_speed / 8 : 0.0;",
					"v.can_attack = v.attack_time > 0 ? 1 : 0;"

				]
			},
			"animations": {
				"root": "controller.animation.dummy.root",
				"state00": "animation.pterodactyl.idle",
				"state01": "animation.pterodactyl.jump",
				"state02": "animation.pterodactyl.attack",
				"state03": "animation.pterodactyl.eat",
				"state04": "animation.pterodactyl.fly",
				"state05": "animation.pterodactyl.walk",
				"state06": "animation.pterodactyl.swim",
				"state07": "animation.pterodactyl.swim_hover",
				"state08": "animation.pterodactyl.run",
				"state09": "animation.pterodactyl.death"
			},
			"render_controllers": ["controller.render.default"],
			"spawn_egg": {"overlay_color": "#E3AF54","base_color": "#D56F19"}
		}
	}
}