Title contains the core of it. The way I imagine it to work is:
- When not in water/rain, instead of blocking you from throwing the trident, Riptide has no effect.
- Riptide, when actually used, negates the effects of Channeling (and Loyalty since Riptide pretty much does that anyway). So when in water/rain, only the Riptide effect is applied. Otherwise, Channeling and Loyalty are applied.
While at it, several other enchantment patches (such as Smite and Bane of the Anthropods being compatible with and applied instead of lower-level Sharpness, and/or a similar approach for the Protection enchantments) would be appreciated, Riptide/Channeling/Loyalty is the top priority business for me though.
Whether through commands or a mod, I'll settle for any way if I have to. I'm no fan of inventing the wheel though.