The Block of Protection adds health to all mobs within 5 blocks and kills hostile mobs within 16 blocks. It does not stop projectiles.

This is a great block to put in the center of a village to protect and restore the health of villagers. Hostile mobs can’t get within the 5 block “healthful” radius.