Trident

"If you don't want to throw it away permanently, then you should invest in Loyalty. This common enchantment makes your trident come back to you. Riptide, which makes you lunge with your trident when you throw it (as long as you're in water, or it's raining) is also well worth seeking out!"

- Tom Stone

Tridents are a type of weapon that can be used in melee or ranged combat.

Obtaining
Tridents can be obtained from drowned mobs.

In Java edition, only naturally-spawned drowned will spawn with a trident. Converted zombies will not.

Melee Attacking
Pressing while holding a trident will increase your damage to both mobs and players. Upon damaging a mob or player, the trident's durability will decrease by 1.

Throwing
Pressing and holding while holding  a trident will charge the trident. When released at full charge, the trident will be thrown and deal damage to the entity that it hits, if any. It flies on a ballistic trajectory similar to that of an arrow, but at 80% strength. If the trident hits a block, it will stick to the block, and if it hits an entity, it will bounce and land nearby. It is also blocked by shields, and can be retrieved once it lands in the ground. Thrown tridents can press wooden buttons.

Unlike other projectiles, the trident does not slow down when thrown through water.

Java Edition
Tridents have an attack speed of 1.1 and take ~0.91 seconds to recover.

Enchantments
Tridents can receive the following enchantments:


 * Loyalty
 * Channeling
 * Riptide
 * Impaling
 * Unbreaking
 * Mending
 * Curse of Vanishing

Data values
Tridents have entity data associated with them that contain various properties of the entity. Their entity ID is.