Weapons are items that can be used to damage entities. They can take the form of a sword or 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 cooldown time than punching.
- Swords are generally the most effective melee weapons, due to their high damage per hit with a relatively short cooldown time compared to other weapons, dealing the highest damage per second.[Java Edition only] They deal the most damage than any other weapon except for tridents.[Bedrock Edition only]
- Axes in Java Edition deal more damage per hit than a sword, but have a slow cooldown time. However, these can disable a shield, which can be lengthened with Cleaving[upcoming: JE Combat Tests] In Bedrock Edition, axes deal one less damage than a sword.
- Tridents can be swung or thrown, dealing higher damage than an unenchanted sword, but with a slower cooldown time.[Java Edition only] Unlike most other projectiles, they are not slowed down in water, but a thrown trident must be retrieved, unless enchanted with Loyalty.
- Other tools, like Pickaxes, Hoes and Shovels can be used as emergency weapons, but they are not as effective as a sword or axe.
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 reduced with the Quick Charge enchantment. 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 or Lingering Potions with the Instant Damage, Poison, or Wither[Bedrock Edition only] status effects can be effectively used to damage enemies. Giving them various other negative status effects using other potions can give the player the upper hand 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.
- 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, an End Crystal, a Bed when used outside of the Overworld, and a Respawn Anchor when used outside of the Nether.
- 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.
- 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).