Guide 1 Docs 2 Reference 3

Field of EntityHandle

entityHandle.max_health

The most health its kind gives it. Nil for an entity that is not a mob and once it is gone. Read-only.

entityHandle.max_health: number?