The bug
If you kill a pillager using a crossbow with a firework, you don't get the "Who's the pillager now?" advancement. But you do get bad omen and "Voluntary Exile" advancement after killing a raid captain.
How to reproduce
Take a crossbow and a firework in the offhand
Load the crossbow with the firework, shoot at the pillager using fireworks until he dies
Repeat same with raid captain
Result: You don't get the "Who's the pillager now?" advancement, but if you kill a captain, you do get the "Voluntary Exile" advancement and the bad omen effect but not the "Who's the pillager now?" advancement.
Checked in creative and survival, enchanted crossbow and normal crossbow.
Linked issues
Attachments
Comments 17
You still get advancements "Adventure" (Kill any mob) and "Monster Hunter" (Kill hostile mob) when killing with crossbow + fireworks.
Well pillagers don't shoot fireworks so I think this is intentional, but they should update the description of the advancement to something like "Kill a pillager with a crossbow and arrow"
Can confirm in 1.18.2 and 22w16b. You can use the command provided below to obtain a firework that will instantly kill a pillager for easier reproducing.
/give @s minecraft:firework_rocket{Fireworks:{Flight:3,Explosions:[{Type:0},{Type:0},{Type:0},{Type:0},{Type:0},{Type:0},{Type:0},{Type:0},{Type:0},{Type:0},{Type:0},{Type:0},{Type:0},{Type:0},{Type:0},{Type:0},{Type:0},{Type:0}]}}
Can You Get The Advancement At All?