mojira.dev
MC-257236

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

Linked issues

Comments 3

I would like to request this ticket to be separated from mine, as end crystals not passing on its data for cause of explosion is probably a separate issue and is probably the reason why it displays the non-player explosion death message. After further testing I've modified my ticket and concluded that end crystals are a separate issue that should be tracked here.

I tested it with a creeper and it does display the proper death by creeper.

Affects 22w45a. Because of fixing MC-256917 the message is now "<Player> blew up"

This is a feature request.

Shuddery

(Unassigned)

Community Consensus

Combat, UI

22w44a, 22w45a

Retrieved