Path of the Titan (5e Subclass)
From D&D Wiki
Path of the Titan
Titans are beings whom are far greater than any mortal. A Titan Barbarian seeks to become similar through attempting to make themselves invincible. As such, many do not even realize when they are stricken, as their nerves have grown numb to pain.
When you take this subclass at the 3rd level, your body gains the capability to heal itself rapidly. While raging, at the end of your turn, you regain a number of hit points equal to your Constitution Modifier.
By 6th level, you have learned how to use an enemy's strike against them. While raging, when you are hit by a melee attack, you can use your reaction to make a melee weapon attack against the attacker. On a hit, you deal half the damage you took from that attack or your maximum weapon damage, whichever is higher.
At 10th level, your body has hardened, and your mind has grown numb to pain. While raging, you have resistance to all damage except psychic.
At 14th level, When raging, your damage output increases by +(damage received from most recent attack/subclass level) Once this increase in damage output is used, you cannot use this feature until you are hit again by an attack. If the attack deals less damage than your level, you deal both extra damage.