lavs Custom HP Datapack
作者:rebot | 分类:模组
Minecraft 版本: 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4
平台: datapack
标签: game-mechanics utility
Datapack to change your health amount to whatever amount you desire it to be!
Custom health or custom hearts, 2 HP is equal to 1 heart, but it will work even if you use hearts which aren't multiples of 2.
To alter the hp value you want players to have follow this steps:
-
go to data/customhp/functions/
-
open the .mcfunction file with notepad/virtual studio code/any other code editting software
-
change the value in
"attribute @p[tag=chp] minecraft:generic.max_health base set 40" from "40" to your desired amount of HP in integral numbers! -
load the datapack, and the players HP will change to that amount!
This datapack will affect any players on your server.
请登录后举报
暂无评论,抢个沙发吧~