{
	"display": {
		"icon": {
			"id": "minecraft:cauldron"
		},
		"title": {"translate":"Bubble, Bubble, Toil and Trouble!"},
		"description": {"color":"green","translate":"Fill a cauldron using a bucket"},
		"announce_to_chat": true
	},
	"parent": "blazeandcave:building/agent_smithing_table",
	"rewards": {
		"function": "bacap_rewards:building/bubble_bubble_toil_and_trouble"
	},
	"criteria": {
		"fill_cauldron": {
			"trigger": "minecraft:item_used_on_block",
			"conditions": {
				"location": [
					{
						"condition": "minecraft:location_check",
						"predicate": {
							"block": {
								"blocks": [
									"minecraft:water_cauldron"
								]
							}
						}
					},
					{
						"condition": "minecraft:match_tool",
						"predicate": {
							"items": [
								"minecraft:water_bucket"
							]
						}
					}
				]
			}
		}
	}
}