Minecraft Data Packs / Adventure

Experience Health

  • check_circle Functions
  • 8,712 views, 11 today
  • 1,169 downloads, 1 today
  • 31
  • 21
  • 12
Francielly avatar Francielly
Level 59 : Grandmaster uwu
- Your max health is now based on your current level
- Every 5 levels grants you a Heart container
- You start with 4 hearts (at level 0)
- At level 30 you'll get the vanilla Health
- The max level is 80, with two rows of hearts (20 Hearts)

~​Known Issues~
* Sometimes you can die two times due to an annoying Minecraft bug (it's extremely rare to happen)
* It's incompatible with anything that changes your max health (like custom items and other datapacks)

Compatible ONLY with 1.16+
CompatibilityMinecraft 1.16
toMinecraft 1.17

1 Update Logs

v1.1 : 07/21/2020 4:01:32 pmJul 21st, 2020

*removed health update for losing max health if my health is already lower than max health
*reworked player loop

Create an account or sign in to comment.

03/08/2021 2:22 amhistory
Level 1 : New Miner
OPRESEK avatar
Hi! How can I change the datapack to set the max health to 4 rows?
Edit: This datapack is great
07/22/2020 3:09 pmhistory
Level 1 : New Miner
ignar9 avatar
Hey! Great work! Here are some ideas to improve your datapack : D

-Use an additive attribute changer instead of an multiplier to make it compatible with other
Health changing datapacks.

-Make it so you start with 8 hearts (16hp) so that the max level is 60
-Make it so you start with 10 hearts (20hp) so that the max level is 50.

-Add other attribute changers (small) to make it feel like a RPG vanilla minecraft (speed [​1 percent per heart gained], damage [​0.1 points per each heart gained], etc...) {Be careful when deciding to use additive or multiplier attributes cause some may be game breaking}

Anyways, Good job mate ^^

Edit: If you start with 10 hearts, u won't have the "die twice bug". ^^

-Having instant health when leveling up is good but I would suggest having a 25 second lvl 2 regeneration effect, healing 10 hearts.
07/22/2020 3:26 am
Level 1 : New Miner
Cornholio1999 avatar
Should be every 10 levels and start with default health
07/21/2020 3:50 am
Level 36 : Artisan Ninja
Trickfully avatar
Hi there! This is an awesome Data pack. Is it possible to Edit the levels at which you gain more health? 80 is a bit high for me to ever reach
07/21/2020 4:35 amhistory
Level 50 : Grandmaster Guard
The Sailor
The Sailor avatar
Open the DataPack and edit the file named "update.mcfunction" it should be Inside Data/exp_health/fuctions, you'll want to edit the add and remove files as well
07/21/2020 11:24 amhistory
Level 59 : Grandmaster uwu
Francielly avatar
exactly, the first value means the level range and the second one for you health (in half hearts), if you want you can add/edit/remove/etc anything

you'll also need to edit the add and remove functions
07/21/2020 3:11 pm
Level 50 : Grandmaster Guard
The Sailor
The Sailor avatar
07/21/2020 3:46 am
Level 23 : Expert Taco
Redfuzzyturtle avatar
I love this idea, actually had a similar idea a while back but was too lazy, glad someone else got it made!

also i disagree that the healing when leveling up is an issue, i think its actually a cool feature, even if it was unintentional
07/21/2020 11:29 am
Level 59 : Grandmaster uwu
Francielly avatar
i agree that healing is a cool idea, but only for leveling up.

if youre low on hp, and i mean, something like half heart, and if you lose a lot of exp, like repairing an item or merging books in an anvil, you will get healed for losing experience/max health
07/21/2020 2:03 pm
Level 23 : Expert Taco
Redfuzzyturtle avatar
Ohhh so it heals every time your level changes, not just when you level up?

Can you just not give the effect when you lose XP and only give it when you gain XP?

im guessing that you’re giving them an effect by testing what their level is and when they’re a certain level they’re given a certain ammount of Health back. Instead of testing the amount of levels, if u test for a change in levels you could make it only heal when you gain XP

Sorry if thats a dumb idea. It makes sense in my head but i might be wrong. If it is, just ignore me
Planet Minecraft


© 2010 - 2021