{
	"display": {
		"icon": {
			"id": "minecraft:milk_bucket"
		},
		"title": {"translate":"Screaming Milk"},
		"description": {"color":"#75E1FF","translate":"Milk a screaming Goat"},
		"announce_to_chat": true,
		"frame": "goal"
	},
	"parent": "minecraft:husbandry/ride_a_boat_with_a_goat",
	"rewards": {
		"function": "bacap_rewards:animal/screaming_milk"
	},		
	"criteria": {
		"shears": {
			"trigger": "minecraft:player_interacted_with_entity",
			"conditions": {
				"item": {
					"items": [
						"minecraft:bucket"
					]
				},
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"entity_type": "minecraft:goat",
							"nbt": "{IsScreamingGoat:1b}"
						}
					}
				]
			}
		}
	}
}
