Data Packs Other

Extra Hearts Datapack

  • 3.8k views 0 today
  • save_alt 334 downloads
Compatibility
Minecraft 1.20
Changes include
  • Advancements
  • Functions
  • Loot Tables
  • Recipes
  • 3
  • 5
  • 1
MMorais
Lvl 20Expert System
4
Info
This is a datapack that adds craftable hearts that you can stack up to 10 hearts. If you get killed by a player while you have an extra heart, that player steals it. Basicly a lifesteal like datapack, but the catch is that you cannot take hearts from players that don't have any, so you wouldn't be banned.

Also, this datapack has some issues when it comes to more than 1 player activating a heart at the same time, so keep that in mind. Btw this is my first datapack so if it has any issues, its expected, if you find any, please tell me about them.

Commands:
Get Heart: /function extrahearts:giveheartitem
Withdraw Heart: /trigger WithdrawHeart

Additional Credits
Click detection datapack that I based this on:
Click Detector Datapack - Mari0_0

More like this

  Have something to say?

gianco008
04/14/2024 12:06 pm
Level 3 : Apprentice Miner
history
How do you consume a heart? Tried right clicking it, left clicking it, nothing works.
1

Welcome