Minecraft: How do you get a block placed at the point where you die?

Fa
1

Minecraft: How do you get a block placed at the point where you die?

Ja

Probably with none at all. As soon as a player dies he is no longer covered by commands, which is why nothing could be spawned at the player's death point. Maybe I'm wrong, my only idea would be to count the deaths with the help of a scoreboard and if this goes to 1, a command block should be placed in the place of the player's head and then reset the scoreboard with another. In order to then place a player-specific head you would need a mod that can do this because it is not possible with command blocks to integrate the player name into the command because it would then search for the head of the player @p. But since this whole idea would only be activated after death, it should not produce the desired result. But I haven't tested that either so I can only guess.