{
  "format_version": "1.8.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "guardian:endermare",
      "materials": {
        "default": "phantom",
        "invisible": "phantom_invisible"
      },
      "textures": {
				"default": "textures/entity/guardian/end/endermare"
			},
			"geometry": {
				"default": "geometry.endermare"
			},
			"spawn_egg": {
				"base_color": "#ff15101c",
				"overlay_color": "#ff16701c"
			},
      "scripts": {
        "pre_animation": [
          "variable.wingRotZ = 16.0 * Math.sin((variable.RuntimeID * 3 + query.life_time * 20.0) * 7.448454);",
          "variable.tailRotX = -5.0 * Math.sin((variable.RuntimeID * 3 + query.life_time * 20.0) * 14.896908) - 5.0;"
        ]
      },
      "animations": {
        "phantom_base_pose": "animation.phantom.base_pose",
        "move": "animation.phantom.move"
      },
      "animation_controllers": [
        { "phantom_base_pose": "controller.animation.phantom.base_pose" },
        { "move": "controller.animation.phantom.move" }
      ],
      "particle_effects": {
        "wing_dust": "minecraft:phantom_trail_particle"
      },
      "render_controllers": [ "controller.render.phantom" ]
      }
    }
  }
}