- check_circle Functions
- check_circle Predicates
- 9,398 views, 6 today
- 1,277 downloads, 1 today
8
Stantoncomet's Simple LifeSteal!
This project is still in beta and you'll probably encounter bugs. Beware!
If you haven't heard of LifeSteal, It's where everyone on the server starts with 10 hearts (like usual) but if you die, you lose a heart. Permanently. This also means that if you kill a player, you gain the heart that they lost. (Hearts are two health points each). If you reach 0 hearts, you get banned (forever stuck in spectator mode). The maximum amount of hearts you can have is 20 50. A short showcase of this: https://youtu.be/j53tmp0Pr1g
Feature list:
*Steal players' hearts
*Withdraw hearts
*Option to choose whether you can lose hearts from non-players
*Reset everyone's hearts online if needed
Note that it takes a bit to update your health after you lose a heart. I don't think there's anything I can do to fix this as it's just a visual bug.
Please let me know if there are any bugs/suggestions/other Minecraft versions that work in the comments!
That's about it! You can use this for content if you like, just credit me somewhere with a link to this page! Hope you enjoy!
This project is still in beta and you'll probably encounter bugs. Beware!
If you haven't heard of LifeSteal, It's where everyone on the server starts with 10 hearts (like usual) but if you die, you lose a heart. Permanently. This also means that if you kill a player, you gain the heart that they lost. (Hearts are two health points each). If you reach 0 hearts, you get banned (forever stuck in spectator mode). The maximum amount of hearts you can have is 20 50. A short showcase of this: https://youtu.be/j53tmp0Pr1g
Feature list:
*Steal players' hearts
*Withdraw hearts
*Option to choose whether you can lose hearts from non-players
*Reset everyone's hearts online if needed
Withdrawing
Another thing to note is the withdrawal feature. By using /trigger withdraw you receive a heart item at the cost of (of course) a heart.
You can give this heart to other members of the server and redeem it by pressing F while in your main hand!
You can give this heart to other members of the server and redeem it by pressing F while in your main hand!
Note that it takes a bit to update your health after you lose a heart. I don't think there's anything I can do to fix this as it's just a visual bug.
Configurable Options
If you are the server owner or somebody with operator permissions, there are a few things you can change. You can use /function lifesteal/gamerule/playerkillonly:[true/false] (I know, kind of a mouth full) to change between being able to lose hearts to anything [false], or just by players [true], and reset all online players' number of hearts with /function lifesteal:reset.
Please let me know if there are any bugs/suggestions/other Minecraft versions that work in the comments!
That's about it! You can use this for content if you like, just credit me somewhere with a link to this page! Hope you enjoy!
Compatibility | Minecraft 1.18 |
Tags |
6 Update Logs
Notice!! : by Stantoncomet 05/21/2022 12:57:26 amMay 21st, 2022
So sorry for another inconvenience, but as I was testing, I noticed v2.1.0 and v2.1.1 have a major issue where the LifeSteal part of this LifeSteal datapack wasn't working (players were losing hearts when killing other players instead of gaining) due to some code that was changed. I know this really isn't ideal, but as mentioned in the description this project is a work in progress. :P
LOAD MORE LOGS
tools/tracking
5506230
119
simple-lifesteal
Create an account or sign in to comment.
(when some dies they will either be in spectator mode or be banned from server, there should be function to pick from)
(you can also make a heart recipe and use the hearts in the recipe for the item to revive)
(craftable hearts in the next update!)