The Better Trident Return Mod (1.19.2, 1.18.2) is a simple mod. It returns a trident that you threw with the Loyalty Enchantment to the original slot, and not the first one. If the slot is full it will choose the next available slot.
This mod is for servers! Clients don’t need to install Better Trident Return in order to connect to servers with Better Trident Return. It will continue to work on singleplayer worlds and clients.