{
	"display": {
		"icon": {
			"id": "minecraft:parrot_spawn_egg"
		},
		"title": {"translate":"Birdkeeper"},
		"description": {"color":"#75E1FF","translate":"Tame all parrot variants"},
		"announce_to_chat": true,
		"frame": "goal"
	},
	"parent": "minecraft:adventure/spyglass_at_parrot",
	"rewards": {
		"function": "bacap_rewards:biomes/birdkeeper"
	},		
	"criteria": {
		"red": {
			"trigger": "minecraft:tame_animal",
			"conditions": {
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"components": {
								"minecraft:parrot/variant": "red_blue"
							}
						}
					}
				]
			}
		},
		"blue": {
			"trigger": "minecraft:tame_animal",
			"conditions": {
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"components": {
								"minecraft:parrot/variant": "blue"
							}
						}
					}
				]
			}
		},
		"green": {
			"trigger": "minecraft:tame_animal",
			"conditions": {
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"components": {
								"minecraft:parrot/variant": "green"
							}
						}
					}
				]
			}
		},
		"cyan": {
			"trigger": "minecraft:tame_animal",
			"conditions": {
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"components": {
								"minecraft:parrot/variant": "yellow_blue"
							}
						}
					}
				]
			}
		},
		"gray": {
			"trigger": "minecraft:tame_animal",
			"conditions": {
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"components": {
								"minecraft:parrot/variant": "gray"
							}
						}
					}
				]
			}
		}
	}
}
