Minecraft Java 20w17a
Blocking player on death
What I expected to happen was...:
When i did the /attribute command to set my max life to 0, i tried to die(.
What actually happened was...:
The particle of death had appeared, but I was blocked and I couldn't move, but I could break and the entity could move.
Steps to Reproduce:
1. Do the command /attribute @s minecraft:generic.max_health base set 0
2. Try to die (works with the /kill command too)
3. See what happen