Change/modify entity stats?


I am working on a plugin which would allow admins the ability to repair all damaged blocks within a crest.  I have most of the code written but what I am having trouble with is finding out how to modify an entities health.  Any assistance would be great appreciated.


bumping because as a server admin, this would be very useful