{
	"display": {
		"icon": {
			"id": "minecraft:pink_dye"
		},
		"title": {"translate":"Live and Let Dye"},
		"description": {"color":"#75E1FF","translate":"Dye Sheep with all 16 colors of wool"},
		"announce_to_chat": true,
		"frame": "goal"
	},
	"parent": "blazeandcave:animal/sheariously",
	"rewards": {
		"function": "bacap_rewards:animal/live_and_let_dye"
	},		
	"criteria": {
		"white_dye": {
			"trigger": "minecraft:player_interacted_with_entity",
			"conditions": {
				"item": {
					"items": [
						"minecraft:white_dye"
					]
				},
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"entity_type": "minecraft:sheep"
						}
					}
				]
			}
		},
		"orange_dye": {
			"trigger": "minecraft:player_interacted_with_entity",
			"conditions": {
				"item": {
					"items": [
						"minecraft:orange_dye"
					]
				},
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"entity_type": "minecraft:sheep"
						}
					}
				]
			}
		},
		"magenta_dye": {
			"trigger": "minecraft:player_interacted_with_entity",
			"conditions": {
				"item": {
					"items": [
						"minecraft:magenta_dye"
					]
				},
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"entity_type": "minecraft:sheep"
						}
					}
				]
			}
		},
		"light_blue_dye": {
			"trigger": "minecraft:player_interacted_with_entity",
			"conditions": {
				"item": {
					"items": [
						"minecraft:light_blue_dye"
					]
				},
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"entity_type": "minecraft:sheep"
						}
					}
				]
			}
		},
		"yellow_dye": {
			"trigger": "minecraft:player_interacted_with_entity",
			"conditions": {
				"item": {
					"items": [
						"minecraft:yellow_dye"
					]
				},
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"entity_type": "minecraft:sheep"
						}
					}
				]
			}
		},
		"lime_dye": {
			"trigger": "minecraft:player_interacted_with_entity",
			"conditions": {
				"item": {
					"items": [
						"minecraft:lime_dye"
					]
				},
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"entity_type": "minecraft:sheep"
						}
					}
				]
			}
		},
		"pink_dye": {
			"trigger": "minecraft:player_interacted_with_entity",
			"conditions": {
				"item": {
					"items": [
						"minecraft:pink_dye"
					]
				},
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"entity_type": "minecraft:sheep"
						}
					}
				]
			}
		},
		"gray_dye": {
			"trigger": "minecraft:player_interacted_with_entity",
			"conditions": {
				"item": {
					"items": [
						"minecraft:gray_dye"
					]
				},
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"entity_type": "minecraft:sheep"
						}
					}
				]
			}
		},
		"light_gray_dye": {
			"trigger": "minecraft:player_interacted_with_entity",
			"conditions": {
				"item": {
					"items": [
						"minecraft:light_gray_dye"
					]
				},
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"entity_type": "minecraft:sheep"
						}
					}
				]
			}
		},
		"cyan_dye": {
			"trigger": "minecraft:player_interacted_with_entity",
			"conditions": {
				"item": {
					"items": [
						"minecraft:cyan_dye"
					]
				},
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"entity_type": "minecraft:sheep"
						}
					}
				]
			}
		},
		"purple_dye": {
			"trigger": "minecraft:player_interacted_with_entity",
			"conditions": {
				"item": {
					"items": [
						"minecraft:purple_dye"
					]
				},
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"entity_type": "minecraft:sheep"
						}
					}
				]
			}
		},
		"blue_dye": {
			"trigger": "minecraft:player_interacted_with_entity",
			"conditions": {
				"item": {
					"items": [
						"minecraft:blue_dye"
					]
				},
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"entity_type": "minecraft:sheep"
						}
					}
				]
			}
		},
		"brown_dye": {
			"trigger": "minecraft:player_interacted_with_entity",
			"conditions": {
				"item": {
					"items": [
						"minecraft:brown_dye"
					]
				},
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"entity_type": "minecraft:sheep"
						}
					}
				]
			}
		},
		"green_dye": {
			"trigger": "minecraft:player_interacted_with_entity",
			"conditions": {
				"item": {
					"items": [
						"minecraft:green_dye"
					]
				},
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"entity_type": "minecraft:sheep"
						}
					}
				]
			}
		},
		"red_dye": {
			"trigger": "minecraft:player_interacted_with_entity",
			"conditions": {
				"item": {
					"items": [
						"minecraft:red_dye"
					]
				},
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"entity_type": "minecraft:sheep"
						}
					}
				]
			}
		},
		"black_dye": {
			"trigger": "minecraft:player_interacted_with_entity",
			"conditions": {
				"item": {
					"items": [
						"minecraft:black_dye"
					]
				},
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"entity_type": "minecraft:sheep"
						}
					}
				]
			}
		}
	}
}
