public float getMaxHealth() { NBTTagCompound maxHealthAttrib = getAttribute("generic.maxHealth"); if (maxHealthAttrib != null && maxHealthAttrib.hasKey("Base")) { return maxHealthAttrib.getFloat("Base"); } return Float.NaN; }
public float getMaxHealth() { NBTTagCompound maxHealthAttrib = getAttribute("generic.maxHealth"); if (maxHealthAttrib != null && maxHealthAttrib.hasKey("Base")) { return maxHealthAttrib.getFloat("Base"); } return Float.NaN; }