{
	"format_version": "1.8.0",
	"minecraft:client_entity": {
		"description": {
			"identifier": "quetz:lycoptera",
			"materials": {
				"default": "entity_alphatest"
			},
			"textures": {
				"default": "textures/entity/lycoptera"
			},
			"geometry": {
				"default": "geometry.lycoptera"
			},
			"scripts": {
				"pre_animation": [
					"variable.ZRot = !query.is_in_water ? Math.cos((query.time_stamp + query.frame_alpha) * 14.32) * 90 : 0.0;",
					"variable.AnimationAmountBlend = Math.lerp(variable.AnimationAmountPrev, variable.AnimationAmount, query.frame_alpha);"
				]
			},
			"animations": {
				"flop": "animation.lycoptera.flop",
				"swim": "animation.lycoptera.swim"
			},
			"animation_controllers": [
				{
					"general": "controller.animation.fish.general"
				}
			],
			"render_controllers": ["controller.render.default"],
			"spawn_egg": {
				"base_color": "#cad8c6",
				"overlay_color": "#59cbd5"
			}
		}
	}
}