How to enable HP loss upon death
peachpotato opened this issue ยท 1 comments
Hey!
You've to make a DataPack, lately a lot of mod use it for config (it's so much better).
I you didn't know how it work, try to read the Wiki.
If you already know how it work, just edit player.json
.
{
"startingHealth" : 10, //Health point each player will start with
"minHealth" : 10, //Minimum health player can reach
"maxHealth" : 60, //Maximum health player can reach
"setOnDeath": "10", //String! Health player will have after death (can be "maxHealth" if you want no loss/gain)
"levelsPerHp": 0,
"hpPerLevel": 0,
"maxAttackDamage" : 50,
"regen" : {
"initialDelay": 100,
"tickDelay": 40,
"exhaustion": 1,
"minFood": 10,
"maxFood": 20,
"minHealth": 0,
"maxHealth": 10,
"proportionalToMaxHealth": false
}
}
You can try and modify it like you want.