This mod adds a simple command that the player can utilize.
The command /repair can be used to revive entity-ghosts or get entities that are on low health back to 100%
Enable/disable via mod-settings.
Where 30 is the number in radius which you specify.
Let me know if you run into any issues.