Steps to Reproduce:
- Build a glass cage
- Inside the cage, place a bed and spawn some villagers
- Start a raid and complete it
- Observe the villagers
The villagers are damaged by their fireworks and eventually die.
Villagers should not launch fireworks when a ceiling is above them.
After sucessfully completing a Pillager Raid, the fireworks display kills the villagers.
We have a village enclosed by glass used for an iron farm. The village is elevated 8 blocks.
After completing a Pillager Raid, fireworks appear inside and above the village. The villagers are killed by the sparks.
This is a repeatable event. We have done 3 raids and lost the villagers each time. On the last attempt, 1 person stayed inside with the villagers while the other person completed the raid. The person inside with the villagers observed the fireworks killing the villagers.