This datapack add the drop of the player head when he died (regardless of how).
This datapack works in 1.14+ version. (Drop the unziped folder in the "datapack" folder of your world).
Player heads texture needs an internet connexion (as player skins).