Minecraft wiki entry for Zombified_Piglin, associated text: On Halloween (October 31), zombified piglins have a 22.5% chance of spawning with a carved pumpkin or a 2.5% chance of spawning with a jack o'lantern equipped as headgear.‌[Java Edition only]