{
	"display": {
		"icon": {
			"id": "minecraft:filled_map"
		},
		"title": {"translate":"X Marks the Spot"},
		"description": {"color":"#75E1FF","translate":"Use a treasure map to find Buried Treasure"},
		"announce_to_chat": true,
		"frame": "goal"
	},
	"parent": "blazeandcave:biomes/ahoy",
	"rewards": {
		"function": "bacap_rewards:biomes/x_marks_the_spot"
	},		
	"criteria": {
		"heart_of_the_sea": {
			"trigger": "minecraft:player_generates_container_loot",
			"conditions": {
				"loot_table": "minecraft:chests/buried_treasure"
			}
		}
	}		
}