跳到正文

lavs Custom HP Datapack

作者:eduardobugia

Datapack to change your health amount to whatever amount you desire it to be! Custom health or custom hearts!

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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:

  1. go to data/customhp/functions/
  1. open the .mcfunction file with notepad/virtual studio code/any other code editting software
  1. 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!

  1. load the datapack, and the players HP will change to that amount!

This datapack will affect any players on your server.

常见问题

lavs Custom HP Datapack 支持哪些 Minecraft 版本?

lavs Custom HP Datapack 支持 Minecraft Java 版 1.16–1.20.4,共 21 个版本。下载时注意选择和你游戏版本一致的文件。

lavs Custom HP Datapack 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

eduardobugia 的其他作品

查看全部 →