LifeSteal Fork

January 12, 2022 ยท View on GitHub

A fabric server or client side implementation of the LifeSteal SMP.

This mod was forked from BradBot1's LifeSteal Mod, please make sure to check it out as although there are quite a few changes this mod was heavily based off of his.

Config

Configuration is purely managed through gamerules, here is a list of gamerules and what they do.

GameruleTypeDescriptionDefault
lifeSteal:playerKillOnlyBooleanIf a player should lose hearts when dying in any way other than to a playertrue
lifeSteal:banWhenMinHealthBooleanIf a player should be banned when they reach the minimum health valuetrue
lifeSteal:stealAmountIntegerThe amount of health that should be stolen upon death2
lifeSteal:minPlayerHealthIntegerThe minimum health a player can reach before being banned if the value is below 1 it is automatically corrected to 11
lifeSteal:maxPlayerHealthIntegerThe maximum health a player can reach set to a value of 0 or below to disable40

Player Maximum health is now stored via the maximum health attribute making it easy to modify and for other mods to be compatible with as long as they dont actively enfore their own max health values.