Minecraft wiki entry for Defeating_a_village_raid, associated text: If you're playing in a desert village, try to grab all the cactuses in the area around the village and place them around strategic points around the village with a height of 2-3 blocks. Don't worry, the ravagers in the raid cannot break the cacti.