Melee Weapons
Swords are melee weapons which can be divided into 2 basic categories: Shortswords, and Broadswords. Shortswords have a very limited range and attack with a horizontal stabbing motion instead of an arc. Broadswords are swung overhead, which makes it easier to defeat flying and jumping enemies than shortswords.
(Quoted From http://terraria.gamepedia.com/Weapons)
Pre-Hardmode Swords
Lava Slasher
Thunderbringer prototype
Rainer Blade
Granite Shortsword
Granite Sword
Meteor Sword
Blade Of Arceon
Blade Of Aetherion
BSword 0%
BSword 5%
BSword 10%
Rapier Of Grass
Meteor Shortsword
Murarasa
Tidal Wave
Lights Rapier
Fiery Rapier
Desert Blade
Desert Shortsword
Blood Rapier
Death Anarchy
Nights Tip
Death Tyranny
Reaper of Slime
Hardmode Swords
True Phasesaber (all Color)
True Nights Tip
True Deaths Tyranny
True Deaths Anarchy
Ritual
Kairoseki Shortsword
Ichor Shortsword
Ichor Greatsword
Kairoseki Sword
Blade of the End
Crystal Meteor Sword
Cursed Sword
Cursed Shortsword
Division
Doomsday Blade
Caliburn
True Caliburn
Harpys Vengeance
Pre-Hardmode Yoyos
Yoyos are melee weapons that are flail-like, and when thrown, seek after the player's cursor
(Quoted From http://terraria.gamepedia.com/Weapons)
Tin Yoyo
Tungsten Yoyo
Silver Yoyo
Shady Yoyo
Platinum Yoyo
Meteor Yoyo
Nianye Yoyo
Lead Yoyo
Molten Yoyo
Iron Yoyo
Gold Yoyo
Ebone Yoyo
Dynasty Yoyo
Pearl Yoyo
Copper Yoyo
Boreal Yoyo
Hardmode Yoyos
Spooky Yoyo
Palladium Yoyo
Orichalcum Yoyo
Kairoseki Yoyo
Hallowed Yoyo
Ichor Yoyo
Cobalt Yoyo
Cursed Yoyo
Adamantite Yoyo
Spears are melee weapons that have decent range (somewhat better than swords), but attack using a stabbing motion (like a shortsword, except that spears can be aimed). Spears also have a good chance of hitting targets more than once, especially large enemies.
(Quoted From http://terraria.gamepedia.com/Weapons)
Pre-Hardmode Spears
Tungsten Fork
Wood Spear
Storm Brew
Tin Spear
Torrent
Silver Yari
Shadewood Spear
Rich Mahogany Spear
Spear of Grass
Iron Spear
Murakuda
Lead Sibat
Platinum Crescent Spear
Nights Lance
Granite Spear
Deaths Conquest
Golden Ranseur
Copper Spear
Fiery Spear
Corrupt Lance
Pre-Hardmode Boomerangs
Hardmode Spears
True Nights Lance
Terra Spear
True Death Conquest
Spear OFTE
Satan Trident
Ichor Voulge
Kairoseki Spear
Cursed Spear
Boomerangs are melee weapons that come back to the player after being thrown. Their damage is listed as melee likely because they're physically thrown and use no ammo.
(Quoted From http://terraria.gamepedia.com/Weapons)
No Content Till Future Updates
Hardmode Boomerangs
Adamantite Boomerang
Mythril Boomerang
Ichor Boomerang
Cobalt Boomerang
Cursed Boomerang
Flails are melee weapons that consist of an object linked to the player by a chain, which can either be thrown or fired. Thrown flails can be suspended around the player indefinitely, whereas launched flails immediately return to the player.
(Quoted From http://terraria.gamepedia.com/Weapons)
Pre-Hardmode Flails
Meteor Flail
Hardmode Flails
Kairoseki Flail
Ichor Flail
Cursed Flail
-
In total, there are 104 melee weapons (42 Swords, 28 Spears, 5 Boomerangs, 4 Flails, 25 Yoyos);
-
Magic Weapons
-
Summoner Weapons
-
Throwing Weapons