{
	"rewards": {
		"function": "blazeandcave:advancement/check/boss_music"
	},		
	"criteria": {
		"music_disc": {
			"trigger": "minecraft:item_used_on_block",
			"conditions": {
				"location": [
					{
						"condition": "minecraft:location_check",
						"predicate": {
							"block": {
								"blocks": [
									"minecraft:jukebox"
								],
								"state": {
									"has_record": "true"
								}
							}
						}
					},
					{
						"condition": "minecraft:match_tool",
						"predicate": {
							"predicates": {
								"minecraft:jukebox_playable": {}
							}
						}
					}
				]
			}
		}
	}
}
