Sword

Some mobs can spawn with a sword and have an 8.5% chance of dropping them upon death by player. This chance is increased by 1% per level of Looting, up to a maximum of 11.5% with Looting III. Zombies and husks can drop iron swords, zombified piglins and piglins can drop golden swords, and wither skeletons can drop stone swords. The dropped sword is usually badly damaged and may be enchanted. Stone swords dropped by wither skeletons are never enchanted.

A vex wields an iron sword that normally has a 0% chance of dropping, because their main hand's HandDropChances is 0. However, this chance increases by 1 percentage point per level of Looting. It is never damaged‌[Java Edition only] and may be enchanted.

In Bedrock Edition, pillagers and vindicators that spawn from raids have a 4.1% chance (5.12% chance on hard) of dropping a damaged iron sword. This sword has a 50% chance of being enchanted.