The bug
Dungeons do not use cave_air, but normal air instead.
Note: Similar to MC-125112, dungeons exposed to the surface should use air.
How to reproduce
Create a world with the following seed
-9144014475768710727Teleport to a dungeon
/teleport -153.64 24.00 44.63Test for
cave_air/execute if block ~ ~ ~ cave_air run say Found cave_air→ ❌ The
saycommand is not executed because nocave_airis found
Fixed in 18w15a?