If you have a loyalty trident, it can have all the enchantments except riptide, and if you have a riptide trident, it can have all the enchantments except loyalty and channeling.