Minecraft wiki entry for Defeating_a_village_raid, associated text: Once the raid has been defeated, any player in the village boundary will be awarded the Hero of the Village advancement and be affected with the Hero of the Village status effect for 60:00 or 3 in-game days.