跳到主要内容

Set Health Attribute

Set player's max health attribute

字段

此条目没有特定字段:请添加并在需要的地方关联它。

How to use it​

Sets the player's maximum health to amount (a heart is 2 health points; the vanilla default is 20). The current health is not refilled: use Heal afterwards.