I'd expect Player.getNoDamageTicks() to return 0 in EntityDamageEvent when consistent damage is taken. Either the value is incorrect or the event isn't always being fired. The player seems to take damage again when the value is at 10.
I ran into this when dealing with lava damage. It emits the event for every tick the player is in lava, which was causing problems in my plugin.
I've captured footage of the problem including logging:
https://www.dropbox.com/scl/fi/axrobb4iku35isq92gvfj/Screen-Recording-2026-02-02-211834.mp4?rlkey=znoiap479gd3csmxvx65znsp6&e=1&st=avm1y75i&dl=0
I've also attached the plugin I recorded the above video with.