{
	"format_version": "1.10.0",
	"minecraft:client_entity": {
		"description": {
			"identifier": "minecraft:allay",
			"materials": {
				"default": "allay"
			},
			"textures": {
				"default": "textures/entity/allay/allay"
			},
			"geometry": {
				"default": "geometry.allay"
			},
			"spawn_egg": {
				"texture": "spawn_egg_allay"
			},
			"animations": {
				"idle": "animation.allay.idle",
				"fly": "animation.allay.fly",
				"hold_item": "animation.allay.hold_item",
				"dance": "animation.allay.dance",
				"general": "controller.animation.allay.general",
				"holding": "controller.animation.allay.holding",
				"dancing": "controller.animation.allay.dancing"
			},
			"render_controllers": [
				"controller.render.allay"
			],
			"scripts": {
				"pre_animation": [
					"variable.holding_trident = query.is_item_name_any('slot.weapon.mainhand', 'minecraft:trident');"
				],
				"animate": [
					"general",
					"holding",
					"dancing"
				]
			},
			"enable_attachables": true
		}
	}
}