It's no longer just fabric™!
just use the minecraft:swords
tag for your sword and you're good to go
this also adds some gameplay mechanics like piercing
damage type that ignores absolutely anything defence related
this includes creative invulnerability and magic(enchants and effects)
I was inspired to make this mod from some other mods that added parrying,
but they were out of date or didn't meet the mod loader requirements,
and that's how i made my own mod™
please don't ask why did i add the ability to parry(block) anything