End Crystals, TNT Minecarts and TNT don't pass on data to each other for what caused its explosion
End Crystals don't pass on the data containing what caused its explosion when it causes a TNT block to be ignited.
Steps to Reproduce:
1) Place an End Crystal and a block of TNT next to it
2) Hold a Totem of Undying and punch the End Crystal
3) The totem should be used when the End Crystal blows up and you will be killed in the TNT explosion
Expected:
"<player1> was blown up by <player1>"
Reality:
"<player1> was blown up by Primed TNT" (22w44a)
"<player1> blew up" (22w45a +)
Edit:
After fixing MC-256951, it is now clear to see that TNT minecarts are also affected by this bug.
Player1 ignites a:
... TNT Minecart which then ignites a block of TNT -> "<player1> blew up"
... Block of TNT which then ignites a TNT Minecart -> "<player1> blew up"
... End Crystal which then ignites a block of TNT -> "<player1> blew up"
... End Crystal which then ignites TNT Minecart -> "<player1> blew up"
All the above should be "<player1> was blown up by <player1>"
Note: This bug results in Player1's Allay being hurt and Neutral Mobs not attacking the player