{
	"display": {
		"icon": {
			"id": "minecraft:player_head",
			"components": {"profile":{"id":[-240018973,1989231733,-1136169642,683671637],"properties":[{"name":"textures","value":"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNTBjNDEwZmFkOGQ5ZDg4MjVhZDU2YjBlNDQzZTI3NzdhNmI0NmJmYTIwZGFjZDFkMmY1NWVkYzcxZmJlYjA2ZCJ9fX0="}]}}
		},
		"title": {"translate":"What's Up, Doc?"},
		"description": {"color":"green","translate":"Turn a mob upside-down"},
		"announce_to_chat": true
	},
	"parent": "blazeandcave:adventure/i_just_want_to_make_toast",
	"rewards": {
		"function": "bacap_rewards:adventure/whats_up_doc"
	},		
	"criteria": {
		"name_tag": {
			"trigger": "minecraft:player_interacted_with_entity",
			"conditions": {
				"item": {
					"items": [
						"minecraft:name_tag"
					],
					"components": {
						"minecraft:custom_name": "Dinnerbone"
					}
				},
				"entity": [
					{
						"condition": "minecraft:inverted",
						"term": {
							"condition": "minecraft:entity_properties",
							"entity": "this",
							"predicate": {
								"entity_type": "#blazeandcave:non_mob_entities"
							}
						}
					}
				]
			}
		},
		"name_tag_grumm": {
			"trigger": "minecraft:player_interacted_with_entity",
			"conditions": {
				"item": {
					"items": [
						"minecraft:name_tag"
					],
					"components": {
						"minecraft:custom_name": "Grumm"
					}
				}
			},
				"entity": [
					{
						"condition": "minecraft:inverted",
						"term": {
							"condition": "minecraft:entity_properties",
							"entity": "this",
							"predicate": {
								"entity_type": "#blazeandcave:non_mob_entities"
							}
						}
					}
				]
		}
	},
	"requirements": [
		[
			"name_tag",
			"name_tag_grumm"
		]
	]
}
