Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Creators
Details
Life Steal
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)
DON'T FORGET TO DOWNLOAD THE REQUIRED RESOURCE PACK
📥 Download links:
- Modrinth: https://modrinth.com/datapack/lifestealfr/
- PlanetMinecraft: https://www.planetminecraft.com/data-pack/life-steal-fr/
⚙️ Configuration
Players can withdraw hearts by typing /trigger life_steal.withdraw
.
Default settings:
- Revived players respawn with 4 hearts
- Maximum heart limit is set to 20 hearts
- Players lose a heart upon death (whether killed by another player or from natural causes)
These settings can be customized using the following commands (requires operator permissions):
scoreboard players set MAX_HEARTS life_steal.data 20
(Maximum of 20 hearts)scoreboard players set REVIVED_HEARTS life_steal.data 4
(Amount of hearts to respawn with when revived)scoreboard players set NATURAL_DEATH_HEART_DROP life_steal.data 1
(1 = drop a heart 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)
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
As datapack don't have /ban
permissions by default, you should edit your server.properties
file and set the line function-permission-level
to 3
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)