Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_RFhsnHnZ.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
Persistent Health Attributes - 墨喵 Minecraft 资源

Persistent Health Attributes

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/persistent-health-attributes
资源信息

Minecraft 版本: 1.19.2

平台: fabric quilt

资源介绍

Litterally a copy and paste from my documentation google docs

Element Type Name Procedure Use
Gamerule DefaultMaxHealth Default Value: 20
Gamerule HealthSetOnJoin Default Value: True
Scoreboard HasPlayerJoined When player joins world:
If HasPlayerJoined Scoreboard ≠ 1 AND HealthSetOnJoin Gamerule:
→ Set PlayerMaxHealth Scoreboard to 20
→ Set HasPlayerJoined Scoreboard to DefaultMaxHealth Gamerule
Scoreboard PlayerMaxHealth When player respawns:
Run command as the event/target entity:
/attribute @s minecraft:generic.max_health base set <PlayerMaxHealth Scoreboard>
Command /set_max_health Usage: /set_max_health <playername> <max_health>
→ Sets PlayerMaxHealth Scoreboard to <max_health>
→ Run command as the event/target entity:
/attribute @s minecraft:generic.max_health base set <PlayerMaxHealth Scoreboard>
下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
Cobblemon League

价格:0 墨喵币
下载量:0

查看详情
SyncedAdvancements

价格:0 墨喵币
下载量:0

查看详情
Weeping Creaks

价格:0 墨喵币
下载量:0

查看详情
PureVanilla

价格:0 墨喵币
下载量:0

查看详情