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> |
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
请 登录 后发表评论。
举报此资源
请登录后举报
暂无评论,抢个沙发吧~