Weapons are items that can be used to damage entities. They can take the form of a sword, bow, or various other items capable of dealing damage. They can also be enchanted to deal more damage or add other benefits.
There are various types of weapons:
Melee weapons can be held while punching to deal extra damage, but with a longer attack time than punching. (attack time is a cooldown time for a weapon)
- Swords are generally the most effective melee weapon, due to their high damage per second[Java Edition only] compared to other weapons. All swords have a cooldown time of 0.6 seconds, 60% faster than axes.[Java Edition only] Swords are the only weapon type that can do sweep attacks to hit multiple targets. In Bedrock Edition, they deal more damage than any other melee weapon except for tridents. [Bedrock Edition only]
- Axes in Java Edition deal more damage per hit than their sword counterparts, but have a slower cooldown time. Wooden and stone axes have a cooldown time of 1.2 seconds, 80% slower than swords. Iron axes have a cooldown time of 1.1 seconds, 70% slower than swords. Golden, diamond, and netherite axes have a cooldown time of 1 second, 60% slower than swords. Axes are the only weapon type that can disable a shield, which can be lengthened with Cleaving[upcoming: JE Combat Tests]. In Bedrock Edition, axes deal one less damage than their sword counterparts.
- Tridents can be swung, dealing the same damage as an unenchanted stone, iron, or diamond axe[Java Edition only] or the same damage as an unenchanted netherite sword [Bedrock Edition only], and when thrown they always do the same damage as an unenchanted netherite sword. They have 10% faster attack speed than golden, diamond, and netherite axes[Java Edition only], being 0.9 seconds. Unlike most other projectiles, they are not slowed down in water, but a thrown trident must be retrieved, unless enchanted with Loyalty.
- Pickaxes are less effective than swords, but deal the same damage as axes. All pickaxes have a cooldown time of 0.8 seconds, 20% faster than axes.[Java Edition only] Pickaxes, unlike axes, cannot receive combat enchantments like Sharpness, Smite, and Bane of Arthropods. In Bedrock Edition, pickaxes deal two less damage than their sword counterparts.
- Other tools, like Hoes and Shovels, can be used as weapons, but they are not as effective as other melee weapons.
Ranged weapons are not as effective in close combat, but they are effective at attacking enemies from a distance.
- Bows are the most common ranged weapon, shooting arrows at enemies to deal damage. Bows have a charge up mechanic, similar to melee weapons, and arrows go the farthest and deal the most damage when shot from a fully charged bow.
- Crossbows have a longer range than bows, and deal more damage, but take longer to charge when unenchanted. The charging time can be drastically reduced with the Quick Charge enchantment to charge far faster than a bow. They can also shoot Firework Rockets to deal splash damage, but unlike the bow, crossbows cannot fire a partially charged attack; the player must fully charge a crossbow to load it and fire. Furthermore, a crossbow can be charged and put away to be fired later.
- Fireballs cannot be launched by a player, but can be fired by a Dispenser or shot from a Ghast or Blaze to explode and set its surroundings on fire upon impact. Ghast fireballs can also be used to damage terrain, but can be deflected. The Ender Dragon uses a special type of dragon fireball that is purple and releases a purple lingering effect cloud similar to that of a lingering potion of harming when it explodes. This particle cloud can be collected using a glass bottle to get dragon's breath.
- Splash Potions, Lingering Potions, or Tipped Arrows with the Instant Damage, Poison, or Wither[Bedrock Edition only] status effects can be effectively used to damage enemies. Other effects like Weakness, Slowness, and Slow Falling can be used to significantly hinder an opponent in a fight.
- Snowballs and Eggs do not deal any damage, but can damage armor and deal knockback,[BE only][upcoming: JE Combat Tests] and unlike a bow, can be thrown quickly. Ender Pearls can be used, but it teleports the player to the entity.
Other items listed below can be used as weapons but usually have other intended uses and should be used strategically.
- End Crystals and Respawn Anchors can be used to deal excessive explosive damage to targets in quick succession.
- Cobwebs can be used to drastically slow the move speed of targets.
- Flint and Steels and Fire Charges can be used to set the ground on fire and damage enemies.
- A Lava Bucket can deal serious damage to enemies and significantly slow them down, but it requires strategic placing. In certain situations, it can be used in conjunction with a Water Bucket to suffocate the entity in Obsidian.
- TNT is an effective weapon against enemies, whether planted and ignited on the spot or buried beforehand and activated in a chase. The player can substitute this with a Creeper, or a Bed when used outside of the Overworld.
- Hostile mobs can be used as weapons when used strategically, but this can be hard to set up due to the fact that these mobs also attempt to attack the player.
- Redstone traps can be used to kill the entity with all sorts of environmental damage, ranging from fall damage to suffocation to anything in between, but these must be prepared beforehand.
- Anvils can be used to damage mobs and players, at the cost of damaging the anvil.
- Certain blocks cause damage on contact, and can be used as barriers to mobs and players without the ability to break blocks. These include a Cactus, an Sweet Berry Bush, a Wither Rose, a Campfire and Magma Block (if the target isn't sneaking or wearing frost walker boots).