This can trident is called Poseidon's Glory, which can be crafted with a normal trident, 1 heart of the sea, and 2 prismarine shards. It can also be found in the Weapons section in the creative inventory. There is a action button above the hunger bar, and it displays what enchantment you are using at the moment. The defualt is loyalty, when you click the defualt key bind, "V"(which can be configured in setting in keybinds) it will switch to the riptide mode. You have to renchant each mode for the first time. One mode cannot hold both, you HAVE to switch modes and put the enchantment you want to use then. It can also hold sword enchantments. Fabric API needed.