{
	"format_version": "1.8.0",
	"minecraft:client_entity": {
		"description": {
			"identifier": "quetz:wraith",
			"materials": {
				"default": "allay"
			},
			"textures": {
				"default": "textures/entity/wraith"
			},
			"geometry": {
				"default": "geometry.wraith"
			},
      "spawn_egg": {
        "base_color": "#00ffeb",
        "overlay_color": "#00e0ff"
      },
      "scripts": {
        "pre_animation": [
          "variable.holding_trident = query.is_item_name_any('slot.weapon.mainhand', 'minecraft:trident');"
        ]
      },
			"animations": {
				"idle": "animation.allay.idle",
				"fly": "animation.allay.fly",
				"hold_item": "animation.allay.hold_item",
				"hold_item_fly": "animation.allay.hold_item_fly",
				"look_at_target_default": "animation.allay.look_at_target.default",
				"dance": "animation.allay.dance"
			},
			"animation_controllers": [
				{ "general": "controller.animation.allay.general" },
				{ "look_at_target": "controller.animation.allay.look_at_target" },
				{ "holding": "controller.animation.allay.holding" },
				{ "dancing": "controller.animation.allay.dancing" }
			],
      "render_controllers": [ "controller.render.allay" ],
      "enable_attachables":  true,
      "held_item_ignores_lighting": true
    }
	}
}
