//bridge-file-version: #1
{
	"format_version": "1.17.0",
	"minecraft:block": {
		"description": {
			"identifier": "strat:behead_skeleton"
		},
		"components": {
			"minecraft:on_placed": {
				"event": "strat:behead"
			}
		},
		"events": {
			"strat:behead": {
				"sequence": [
					{
						"spawn_loot": {
							"table": "loot_tables/behead/skeleton.json"
						}
					},
					{
						"run_command": {
							"command": [
								"setblock ~~~ air"
							]
						}
					}
				]
			}
		}
	}
}