Yes but every other command that has a time parameter uses units in relation to ticks. I see no reason for the world border to be the exception and to be inconsistent with all other commands, the world border ** is ** a game mechanic that should be tied to ticking, in fact the game does indeed tick the world border, but it updates it in realtime (ms).
I understand that by default it takes seconds as an argument, and changing it to be consistent with the other commands would change behaviours, but I think that just making seconds the default unit and allowing the user to specify ticks, days, etc. would still be preferable. Also the fact that the argument states that it is in seconds doesn't necessarily mean it will be, with the current time arguments you can specify seconds by appending a 's', however this does not mean it will actually take that amount of seconds instead that amount of seconds in ticks.
Code Analysis (Mojang Mappings, 1.20.6):
For
minecraft.custom:minecraft.damage_dealt_absorbed
:This happens because the
Player
class overrides the*actuallyHurt*
with similar behaviour but doesn't include the code for awarding theminecraft.custom:minecraft.damage_dealt_absorbed
stat.Suggested fix:
For
minecraft.custom:minecraft.damage_dealt_resisted
the stat is only not awarded when attacking player entities, because of an incorrect use of an*else if*
in*LivingEntity#getDamageAfterMagicAbsorb*
.Suggested fix: