ObjectRef get_hp - Uberi/MineTest-API GitHub Wiki ObjectRef:get_hp Description returns number of hitpoints (2 * number of hearts) Syntax [float](../type/float.html) get_hp() Examples print("The object has " .. object:get_hp() / 2 .. " hearts left") ⚠️ **GitHub.com Fallback** ⚠️