Minecraft wiki entry for Pumpkin, associated text: Zombies, zombie villagers, skeletons, wither skeletons, drowned, husks, strays, and zombified piglins have a chance of wearing a carved pumpkin if they spawn during Halloween (October 31). If a mob wearing a carved pumpkin is killed using a tool enchanted with Looting, there is a chance equivalent to the level of Looting used to drop the carved pumpkin, up to a maximum of a 3% chance of a drop.