Weapons

Weapons are essential items used for combat against enemies, bosses, and even other players during PvP games. Some weapons can be crafted at a Work Bench or a Pre-Hardmode/Hardmode Anvil, while others can only be found in Chests, as enemy drops, or purchased from NPCs. Terraria has a wide variety of weapons and weapon classes, each suited to particular play styles or specific tasks.

Most tools can also be used as weapons, despite it not being their primary purpose. In the broader sense, traps, self-defending NPCs, and even lava can be used as a weapon.

Swords
Swords are melee weapons which can be divided into 2 basic categories: Shortswords, and Broadswords. Shortswords have very limited range, and they attack with a horizontal stabbing motion instead of an arc. Broadswords are swung overhead, which makes it easier to defeat flying and jumping enemies.

Yoyos are flail-like melee weapons that follow the player's cursor when thrown.

Spears
Spears are melee weapons that have a longer range than most swords, but attack with a stabbing motion. Spears also can hit targets more than once, making them especially useful for dealing with large enemies.

Boomerangs
Boomerangs are melee weapons that return to the player after being thrown. Together with Yoyos, they provide the earliest distance attacks that benefit from melee bonuses.

Flails
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.

Other
These are Hardmode melee weapons that possess unique means of attack. some also launch projectiles.

Bows
Bows are ranged weapons that fire arrows as ammunition. Although several Bows deal no knockback, the arrows do (with the exception of the Bone Arrow and Heart Arrow).

Others
Note: The Confetti Gun, Slime Gun, and Water Gun are novelty weapons, causing no damage or knockback. The Confetti Gun is a consumable, and can only be used once. The Slime Gun and Water Gun cause purely aesthetic debuffs and cannot be placed on a Weapon Rack.