Steps to reproduce:
Create a new world with commands enabled and in Hard difficulty.
Go into survival mode.
Give yourself and equip a Totem of Undying.
Run this command:
/damage @s 300000000000000000000000000000000000000 minecraft:mob_attack by @e[type=minecraft:zombie,limit=1,sort=nearest]
If the command fails, find or summon a zombie then try again.Run this command:
/data get entity @s AbsorptionAmount
❌ [Player] has the following entity data:NaNf
Take damage again.
Your screen will appear to constantly shake and your health bar will show as if you had 0 HP, but you still remain alive. You can still move around, break blocks, and punch entities, but you can't pick up items.
Run this command:
/data get entity @s Health
❌ [Player] has the following entity data:NaNf
Once the bug occurs for a player, it can only be fixed by setting their Health
and AbsorptionAmount
to a valid number using external tools or mods; the /kill
command, which normally instantly kills selected entities, won't work on such players.
Attachments
Comments 3
Can confirm, attaching video
[media]Player in that state is mostly able to interact with world, but cant do some things like picking item and opening inventory. It is also unable to take damage and reentering world doesn't fix the issue
Can confirm.