Crossbow

A crossbow is a powerful ranged weapon that uses arrows, tipped arrows or firework rockets as ammunition.

Weapon
Crossbows are similar to bows, but take longer to charge and are sightly more powerful, shooting further. They can be drawn back by it, forcing one to move at a sneaking pace, and unlike bows, the arrow may only be shot after it is fully loaded. At full charge, the player's speed returns to normal (for example, it is possible to sprint with a loaded crossbow). In order to use it, at least one arrow must be present in the inventory. Creative mode doesn't require arrows. The player can choose which type of arrow to fire based on its location in the inventory. Arrows in the off-hand, or the selected hotbar slot if the bow is in the off-hand, are prioritized first. If there are no arrows in the off-hand or selected hotbar slot then the arrow closest to slot 0 is selected.

Damage caused by the arrow is unaffected by the Strength status effect.

Endermen cannot be shot using an arrow, as the arrow will disappear as the enderman teleports.

Fireworks
Firework rockets can be fired using crossbows by shooting the crossbow while holding the rockets in the offhand. Firework rockets with higher flight durations will make them launch further and also have a longer time before they explode. Launching firework rockets with multiple firework stars in them can obscure the targeted player's vision, due to the number of particles produced.

Enchantments
Crossbows can receive 3 unique enchantments, and have a base enchantability of 1. Its enchantments have no effect on arrow speed or distance.

Crossbows can be enchanted with Quick Charge, Multishot and Piercing:
 * Quick Charge (I–III) – Decreases the reloading time. At level III it is slightly faster then bows.
 * Multishot (I) – Shoots 3 arrows at once, but will only consume 1 arrow.
 * Piercing (I–IV) – Shoots through level + 1 mobs.

Crossbows can also receive Mending and Unbreaking enchantments.

Fuel
A crossbow can be used as fuel in furnaces, smelting 1 item per crossbow.