Vampirism Lifesteal + Armor Resistance
This addon adds two new mechanics: lifesteal and full armor set bonuses.
Lifesteal
Entities restore health when dealing damage to other entities.
The amount of health restored depends on the damage dealt:
- 1 damage — restores 1 HP
- 9–10 damage — restores 5 HP
- 11–15 damage — restores 10 HP
- 16+ damage — restores 30 HP
Health cannot be restored above the entity's maximum health.
Lifesteal works without a cooldown and can activate for both players and mobs.
When health is restored, particles appear and a sound is played.
Armor Bonuses
Wearing a complete armor set grants a Resistance effect.
Chainmail — Resistance I
Iron — Resistance I
Copper — Resistance I
Diamond — Resistance II
Netherite — Resistance III
The effect requires all four pieces of the same armor set: helmet, chestplate, leggings, and boots.
Removing any piece or mixing different armor sets removes the bonus.
Features
- Works with players and mobs.
- Lifesteal has no cooldown.
- The amount of healing depends on damage dealt.
- Health cannot exceed the maximum value.
- Armor bonuses update automatically.
- Does not add new items or blocks.