Minecraft wiki entry for Zombified_Piglin, associated text: All zombified piglins spawn with a golden sword, which has a small chance of being enchanted in Normal or Hard modes, up to 25%. This chance varies depending on the regional difficulty as the sword's enchantment is from 5 to 23 levels.