When a raid is beaten and villagers are celebrating, they can get hit by their own firework and eventually die from it. This happens when a transparent block is on the way between the villager and the and the sky. Apparently this does not when there is a non transparent solid block as it prevents the villager from shooting their rocket (making them know they are actually in the "inside").
How to reproduce.
Has a villager standing inside a cage made of glass and no other block between the sky and the villager.
Start a raid, and be victorious.
Watch the villager hitting himself with the rocket.
Linked issues
relates to 2
Attachments
Comments 7
This occurs even when the villager is below solid (non-transparent) blocks like grass.
Example:
My villagers' beds are inside a room with a slab ceiling and a grass roof immediately above that. While inside this room, villagers will launch fireworks following a defeated raid.
I have had this issue again in 1.15.2 using Gnembom's Iron Farm (Recommended)(https://www.youtube.com/watch?v=vMSiholH_lc) after triggering a raid.
[22:35:36] [Server thread/INFO]: Dogatron03 has completed the challenge [Hero of the Village]
[22:35:37] [Server thread/INFO]: Villager axw['Fletcher'/150, l='world', x=-144.70, y=82.00, z=148.70] died, message: 'Fletcher went off with a bang'
[22:35:42] [Server thread/INFO]: Villager axw['Fletcher'/82, l='world', x=-143.83, y=82.00, z=136.30] died, message: 'Fletcher went off with a bang'
[22:35:43] [Server thread/INFO]: Villager axw['Fletcher'/148, l='world', x=-144.69, y=82.00, z=148.30] died, message: 'Fletcher went off with a bang'
[22:35:43] [Server thread/INFO]: Villager axw['Fletcher'/149, l='world', x=-144.02, y=82.00, z=148.55] died, message: 'Fletcher went off with a bang'
[22:35:44] [Server thread/INFO]: Villager axw['Fletcher'/401, l='world', x=-187.84, y=82.00, z=177.35] died, message: 'Fletcher went off with a bang'
[22:35:46] [Server thread/INFO]: Villager axw['Fletcher'/77, l='world', x=-166.06, y=82.00, z=136.70] died, message: 'Fletcher went off with a bang'
[22:35:46] [Server thread/INFO]: Villager axw['Fletcher'/393, l='world', x=-164.30, y=82.00, z=177.30] died, message: 'Fletcher went off with a bang'
[22:35:46] [Server thread/INFO]: Villager axw['Fletcher'/394, l='world', x=-164.93, y=82.00, z=177.30] died, message: 'Fletcher went off with a bang'
[22:35:51] [Server thread/INFO]: Villager axw['Fletcher'/107, l='world', x=-188.50, y=82.00, z=136.70] died, message: 'Fletcher went off with a bang'
[22:35:51] [Server thread/INFO]: Villager axw['Fletcher'/141, l='world', x=-187.44, y=82.00, z=148.30] died, message: 'Fletcher went off with a bang'
[22:35:51] [Server thread/INFO]: Villager axw['Fletcher'/142, l='world', x=-188.06, y=82.00, z=148.70] died, message: 'Fletcher went off with a bang'
[22:35:51] [Server thread/INFO]: Villager axw['Fletcher'/143, l='world', x=-188.70, y=82.00, z=148.30] died, message: 'Fletcher went off with a bang'
[22:35:53] [Server thread/INFO]: Villager axw['Fletcher'/78, l='world', x=-165.11, y=82.00, z=136.70] died, message: 'Fletcher went off with a bang'
[22:35:53] [Server thread/INFO]: Villager axw['Fletcher'/79, l='world', x=-165.70, y=82.00, z=136.70] died, message: 'Fletcher went off with a bang'
[22:35:58] [Server thread/INFO]: Villager axw['Fletcher'/147, l='world', x=-165.37, y=82.00, z=148.30] died, message: 'Fletcher went off with a bang'
[22:36:02] [Server thread/INFO]: Villager axw['Fletcher'/308, l='world', x=-165.24, y=82.00, z=165.70] died, message: 'Fletcher went off with a bang'
[22:36:02] [Server thread/INFO]: Villager axw['Fletcher'/309, l='world', x=-166.09, y=82.00, z=165.30] died, message: 'Fletcher went off with a bang'
[22:36:02] [Server thread/INFO]: Villager axw['Fletcher'/310, l='world', x=-166.70, y=82.00, z=165.70] died, message: 'Fletcher went off with a bang'
[22:36:03] [Server thread/INFO]: Villager axw['Fletcher'/312, l='world', x=-186.30, y=82.00, z=165.70] died, message: 'Fletcher went off with a bang'
[22:36:03] [Server thread/INFO]: Villager axw['Fletcher'/313, l='world', x=-186.95, y=82.00, z=165.70] died, message: 'Fletcher went off with a bang'
[22:36:03] [Server thread/INFO]: Villager axw['Fletcher'/314, l='world', x=-188.28, y=82.00, z=165.58] died, message: 'Fletcher went off with a bang'
[22:36:04] [Server thread/INFO]: Villager axw['Fletcher'/145, l='world', x=-165.50, y=82.00, z=148.30] died, message: 'Fletcher went off with a bang'
[22:36:04] [Server thread/INFO]: Villager axw['Fletcher'/146, l='world', x=-166.50, y=82.00, z=148.30] died, message: 'Fletcher went off with a bang'
Villagers are still able to hurt themselves with fireworks, happens mostly in crowded spaces, especially if the firework is set off by baby villagers and adult villagers stands right next to them, then the adult villagers will get hit.
It is quite easy to reproduce if one makes a small fenced off area with a bunch of villagers in including baby villagers and then defeats a raid. Then it quickly becomes evident that a lot of villagers are hurt by their own fireworks and may even result in the majority of them being killed.
This still happens in 1.17.1, so I created a new issue for it (MC-233250).
Confirmed for 19w14b