When a player has a very large regeneration effect, he will not take damage (there will be no sound of damage, no reddening of the skin, no screen tilt, no knockback). Sometimes only 1 time can take damage. It doesn't match previous versions (for example 1.18.12) as well as java versions.
Steps to reproduce:
- Write a command: /effect @s regeneration 1000000 50 true
- Try to take damage in any way (except fall damage) several times.
The player will not take damage (possibly only 1 time).
The player will take damage (although the hearts will be restored immediately).