Lifesteal Effect

Adds a lightweight Lifesteal status effect that restores health when you damage living entities. Healing scales with the effect amplifier.
Back to Files

lifesteal-1.2.1-fabric.jar

File namelifesteal-1.2.1-fabric.jar
Uploader
hardysainthardysaint
Uploaded
Dec 2, 2026
Downloads
3
Size
30.5 KB
Mod Loaders
Fabric
File ID
9968772
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Fabric

modImplementation "curse.maven:lifesteal-effect-1842204:9968772"

Learn more about Curse Maven

What's new

Lifesteal Effect v1.2.1 — Fabric (Initial Fabric Release)

The Lifesteal Effect mod is now available for Fabric! This is the first Fabric build, bringing feature parity with the Forge 1.2.1 release.

What's New

Fabric port — Lifesteal Effect now runs on Fabric Loader for Minecraft 1.20.1, alongside the existing Forge version. Both versions share the same gameplay behaviour, config defaults, and effect ID (lifesteal:lifesteal), so the mod is fully interchangeable between loaders.

Features

  • Lifesteal status effect — when a player with the effect deals damage to a living entity, they are healed by a configurable amount based on the effect's amplifier.
  • Two heal modes — FLAT (classic behaviour) and LINEAR (scales smoothly with amplifier).
  • Damage-based bonus — optionally heal an extra percentage of the damage dealt.
  • Source filtering — toggle whether melee, projectiles (arrows, tridents), and indirect sources (thorns, TNT) trigger lifesteal.
  • Target filtering — blacklist PvP (other players) and/or vanilla bosses (Ender Dragon, Wither, Elder Guardian).
  • Heal caps — per-hit hard cap, amplifier cap (0–255), minimum damage threshold, and a no-overheal clamp.
  • Pure HUD overlay — a bouncing heart indicator and a "+N" HP popup appear in the top-right corner of the health bar on every lifesteal heal. This is a screen draw only — no potion effect is applied, so no "Regeneration" icon shows up in your inventory.
  • Fully configurable — 17 options across general, healing, sources, limits, and visual sections. Config lives at config/lifesteal.json5 and supports // comments.

Requirements

  • Minecraft 1.20.1
  • Fabric Loader 0.15.0 or newer
  • Fabric API (any 0.92.x build for 1.20.1)
  • Java 17 or newer

How to Install

  1. Install Minecraft 1.20.1 with Fabric Loader (use the Fabric installer).
  2. Download Fabric API for 1.20.1 and place it in your mods/ folder.
  3. Place lifesteal-1.2.1-fabric.jar in the same mods/ folder.
  4. Launch the game.

How to Use

Give yourself the effect in-game:

/effect give @s lifesteal:lifesteal 600 0

The first number is the duration in ticks (600 = 30 seconds), the second is the amplifier (0 = level I). Adjust the behaviour to your liking in config/lifesteal.json5, which is generated on first launch.

Technical Notes

  • The damage hook is implemented via a Mixin on LivingEntity#actuallyHurt (HEAD + TAIL injection), capturing the actual HP lost per hit.
  • The HUD overlay is driven by a server-to-client packet, so the visual only fires on the attacking player's screen — never on other players'.
  • The healing and filtering logic is identical to the Forge 1.2.1 build; only the platform integration (events, networking, config, overlay registration) differs.

Feedback

Found a bug or have a suggestion? Open an issue on the project page. Thanks for playing!

This mod has no additional files