Based on the Ender Pearls Reworked mod, Teleportation Enchantment implements its mechanic locked behind a treasure enchantment book for projectile-based weapons such as Tridents, Bows, and Crossbows.
When teleporting with a weapon using the enchantment, it will deal a large amount of fixed durability damage. This fixed amount applies to bows and crossbows. Tridents damage based on the teleportation time over a fixed amount. Applying unbreaking and mending will help significantly long-term.
The teleportation doesn’t move you automatically. Instead, you physically vanish from the world and oversee the entire live travel route. While teleporting, shift-clicking will instantly release you back into the world at that exact location. This gives you precise control over your movements. Use it to gain height for mace attacks, escape danger, or travel without ever touching the ground.
The enchantment book has a 25% chance of generating in the end city loot chests and costs 15 levels to apply via the anvil. Teleportation is not compatible with Riptide, Loyalty, Channeling, Multi-shot, Piercing, or Infinity.

