If you fire an arrow at a mob then reload the world, the arrow will not register that damage being inflicted by the player. Fixed in 23w41a.
Similarly, if you light TNT then reload the world, the TNT will act as if it was lit by redstone.
As a result, mobs killed with arrows and TNT after the world is reloaded will not drop XP or count as a player kill. Ores destroyed by TNT will not drop XP.
An easy way to fix this would be to add a tag to arrows and TNT that stores the UUID of the player that shot the arrow/lit the TNT.
Linked issues
is duplicated by
relates to
Comments


affects every version from 1.13 snapshots to 19w06 1.14 snapshot

Confirmed in 1.15.2 and 20w22a. Related to MC-59626.
Confirmed in 1.16.1 for TNT. TNT doesn't store its owner in NBT like other entities with an owner do.
Can confirm in 20w48a.

Can confirm in 21w43a for TNT.
Can confirm in 1.18.2 for TNT.
Can confirm in 1.19.3.

Can confirm in 23w05a
Can confirm in 1.20 for TNT
Hi, we currently take issues for version 1.20.1. Please update to the latest version as it includes the newest fixes.
Does this affect 1.13-pre6? If so, update the issue accordingly.