Download
Choose Minecraft Version
1.21.101.21.11v1.9.0
1.21.101.21.10v1.9.0
1.21.101.21.9v1.9.0
1.21.101.21.8v1.9.0
1.21.101.21.7v1.9.0
1.21.101.21.6v1.9.0
1.21.101.21.5v1.9.0
1.21.101.21.4v1.2.1
1.21.101.21.3v1.1.0
1.21.101.21.2v1.1.0
1.21.101.21.1v1.0.0
1.21.101.21v1.0.0
Close

Life Steal

GitHub Smithed Modrinth PMC Discord StewBeet

Life Steal FR is a simple datapack configurable aiming to add life steal behaviours from the original Lifesteal SMP:
https://lifesteal.fandom.com/wiki/Season_1

This datapack adds texture for the revive beacon and use 1.21 food/consumable components for interactions with the system (eating a heart, consuming a renamed revive beacon)

This datapack is and will 🔥 ALWAYS 🔥 be updated to support the latest Minecraft versions!
I continuously maintain compatibility with new releases, ensuring you can enjoy Life Steal mechanics on the newest Minecraft updates without waiting, even on snapshots.

DON'T FORGET TO DOWNLOAD THE REQUIRED RESOURCE PACK IF YOU ARE USING THE DATAPACK VERSION

⚠️ IMPORTANT: Server Setup Required

This project requires special permissions to ban players!
If you're running a server, you MUST edit your server.properties file and set:

function-permission-level=3

Without this setting, the ban feature will not work! This is the most common issue users encounter.
After making this change, restart your server for it to take effect.

⚙️ Configuration

Players can withdraw hearts by typing /trigger life_steal.withdraw.

Since 1.5.0, you can now view and modify all settings interactively by running:

/function life_steal:_config

This displays an interactive menu where you can click on any setting to modify it directly!

Default settings:

  • 🔄 Revived players respawn with 4 hearts
  • ⬆️ Maximum heart limit is set to 20 hearts
  • 💝 Maximum hearts by consuming is set to 20 hearts (if lower than maximum hearts, additional hearts only obtainable through kills)
  • ⬇️ Minimum heart limit is set to 0 hearts
  • 💀 Players lose a heart when dying from natural causes (enabled)
  • 🎁 Hearts drop at death location when dying from natural causes (enabled)
  • ➗ Half hearts mode is disabled (hearts are tracked in whole numbers)
  • 🚫 Players are banned when reaching the minimum heart limit
  • 👻 Spectator instead of ban is disabled (players are banned, not moved to spectator mode)
  • 🍀 Last chance is disabled (when enabled, if a player at MIN+1 hearts dies, they survive with MIN+0.5 hearts; only works with half hearts mode disabled)
  • ⚔️ Steal on kill is enabled (killing players rewards hearts and removes them from victims)
  • ⚡ Instantly consume hearts is disabled (hearts require full eating animation)
  • 🛑 No heart drop is disabled (hearts drop and can be stolen normally)

Alternatively, settings can be customized manually using the following commands (requires operator permissions):

  • ⬆️ scoreboard players set MAX_HEARTS life_steal.data 20 (Absolute maximum of 20 hearts)
  • 💝 scoreboard players set MAX_HEARTS_BY_CONSUMING life_steal.data 20 (Maximum hearts obtainable by consuming crafted hearts, additional hearts can only be gained through kills (if lower than MAX_HEARTS), default is 20)
  • ⬇️ scoreboard players set MIN_HEARTS life_steal.data 0 (Minimum number of hearts a player can have, default is 0)
  • 🔄 scoreboard players set REVIVED_HEARTS life_steal.data 4 (Amount of hearts to respawn with when revived)
  • 💀 scoreboard players set NATURAL_DEATH_HEART_LOSE life_steal.data 1 (1 = lose a heart when dying to non player, 0 = disable that)
  • 🎁 scoreboard players set NATURAL_DEATH_HEART_DROP life_steal.data 1 (1 = drop a heart at death location when dying to non player, 0 = disable that)
  • scoreboard players set USE_HALF_HEARTS life_steal.data 1 (1 = enable half hearts mode, 0 = disable - tracks hearts in 0.5 increments instead of whole numbers)
  • 🚫 scoreboard players set BAN_REACHING_MIN_HEARTS life_steal.data 1 (1 = ban player when reaching minimum hearts, 0 = just prevent them from going lower)
  • 👻 scoreboard players set SPECTATOR_INSTEAD life_steal.data 1 (1 = move players to spectator mode instead of banning them when reaching minimum hearts, 0 = ban players normally)
  • 🍀 scoreboard players set LAST_CHANCE life_steal.data 1 (1 = when dying at MIN+1 hearts, player survives with MIN+0.5 hearts instead of losing everything - only works when half hearts mode is disabled, 0 = players lose full hearts normally)
  • ⚔️ scoreboard players set STEAL_ON_KILL life_steal.data 1 (1 = killing players rewards hearts and removes them from victims, 0 = disable heart stealing on kill)
  • scoreboard players set INSTANTLY_CONSUME_HEARTS life_steal.data 1 (1 = hearts are consumed instantly when used, 0 = require full eating animation)
  • 🛑 scoreboard players set NO_HEART_DROP_OR_STEAL life_steal.data 1 (1 = hearts won't drop or be stolen when players die, overrides STEAL_ON_KILL by preventing all heart steal/drop on death, 0 = hearts drop and can be stolen normally)

You can obtain the items using these commands:

  • /function life_steal:_give_all (gives all items from the datapack)
  • /loot give @s loot life_steal:i/heart (gives a heart)
  • /loot give @s loot life_steal:i/revive_beacon (gives a revive beacon)

⚠️ Administration

If you want to manually revive a player, you can use the following command: 🔨
function life_steal:player/revive {player:"Stoupy51"}
(replace Stoupy51 with the player name you want to revive)

📥 Download links:


Promotional image

Recipe for the revive beacon

Recipe for the heart

⭐ Star History

Star History Chart
Smithed

Copyright © 2024 Smithed
Not an official Minecraft product. Not approved by or associated with Mojang Studios