scoreboard players add @s mt.break_deepslate 1

# Layer y=0
execute if block ~-1 ~-1 ~-1 #minecraft:mineable/pickaxe run setblock ~-1 ~-1 ~-1 air destroy
execute if block ~0 ~-1 ~-1 #minecraft:mineable/pickaxe run setblock ~0 ~-1 ~-1 air destroy
execute if block ~1 ~-1 ~-1 #minecraft:mineable/pickaxe run setblock ~1 ~-1 ~-1 air destroy

execute if block ~-1 ~-1 ~0 #minecraft:mineable/pickaxe run setblock ~-1 ~-1 ~0 air destroy
execute if block ~0 ~-1 ~0 #minecraft:mineable/pickaxe run setblock ~0 ~-1 ~0 air destroy
execute if block ~1 ~-1 ~0 #minecraft:mineable/pickaxe run setblock ~1 ~-1 ~0 air destroy

execute if block ~-1 ~-1 ~1 #minecraft:mineable/pickaxe run setblock ~-1 ~-1 ~1 air destroy
execute if block ~0 ~-1 ~1 #minecraft:mineable/pickaxe run setblock ~0 ~-1 ~1 air destroy
execute if block ~1 ~-1 ~1 #minecraft:mineable/pickaxe run setblock ~1 ~-1 ~1 air destroy

# Layer y=1
execute if block ~-1 ~0 ~-1 #minecraft:mineable/pickaxe run setblock ~-1 ~0 ~-1 air destroy
execute if block ~0 ~0 ~-1 #minecraft:mineable/pickaxe run setblock ~0 ~0 ~-1 air destroy
execute if block ~1 ~0 ~-1 #minecraft:mineable/pickaxe run setblock ~1 ~0 ~-1 air destroy

execute if block ~-1 ~0 ~0 #minecraft:mineable/pickaxe run setblock ~-1 ~0 ~0 air destroy
execute if block ~0 ~0 ~0 #minecraft:mineable/pickaxe run setblock ~0 ~0 ~0 air destroy
execute if block ~1 ~0 ~0 #minecraft:mineable/pickaxe run setblock ~1 ~0 ~0 air destroy

execute if block ~-1 ~0 ~1 #minecraft:mineable/pickaxe run setblock ~-1 ~0 ~1 air destroy
execute if block ~0 ~0 ~1 #minecraft:mineable/pickaxe run setblock ~0 ~0 ~1 air destroy
execute if block ~1 ~0 ~1 #minecraft:mineable/pickaxe run setblock ~1 ~0 ~1 air destroy

# Layer y=2
execute if block ~-1 ~1 ~-1 #minecraft:mineable/pickaxe run setblock ~-1 ~1 ~-1 air destroy
execute if block ~0 ~1 ~-1 #minecraft:mineable/pickaxe run setblock ~0 ~1 ~-1 air destroy
execute if block ~1 ~1 ~-1 #minecraft:mineable/pickaxe run setblock ~1 ~1 ~-1 air destroy

execute if block ~-1 ~1 ~0 #minecraft:mineable/pickaxe run setblock ~-1 ~1 ~0 air destroy
execute if block ~0 ~1 ~0 #minecraft:mineable/pickaxe run setblock ~0 ~1 ~0 air destroy
execute if block ~1 ~1 ~0 #minecraft:mineable/pickaxe run setblock ~1 ~1 ~0 air destroy

execute if block ~-1 ~1 ~1 #minecraft:mineable/pickaxe run setblock ~-1 ~1 ~1 air destroy
execute if block ~0 ~1 ~1 #minecraft:mineable/pickaxe run setblock ~0 ~1 ~1 air destroy
execute if block ~1 ~1 ~1 #minecraft:mineable/pickaxe run setblock ~1 ~1 ~1 air destroy