Explosions won't damage an entity if the distance to its eyes is 0
How to reproduce:
- /gamemode survival
- /summon tnt ~ ~1.55875000357628 ~ {NoGravity:1b}
The reason is that avoids division by 0 by just ignoring zero-distance entities in net.minecraft.world.level.Explosion#explode().
Obviously, it's quite hard to abuse this bug, but hacked clients may make use of it.