The bug
If you have a trident in your mainhand, and either a bow or shield in your off-hand (there may be other items where this bug happens, but so far I've only found this happen with a bow and a shield), and hold down right-click, as your trident cannot be thrown, instead it will make the off-hand item take precedence, so it will make you charge up your bow or block with your shield.
Both are trying to be used at the same time, they both do their loading animation, but:
Only the bow will shoot its arrow and the trident will not be thrown
Only the shield will be used and the trident will not be thrown
There are no visual glitches there, but in F5 mode or from the point of view of other players, you will still appear to be holding up your trident as though you intend to throw it, and also the trident will be held backwards, as can be seen in the screenshot.
Note: Despite the fact that the trident is in the main hand, it does not have priority over other objects (which have a right click and are in the secondary hand).
Examples
[media][media]
Related issues
is duplicated by
relates to
Attachments
Comments


still in 18w15a

Affects 18w22c

Affects 1.13-pre7

Still in 19w13b and 19w14a

Still in 19w14b and 1.14 Pre-Release 1

Still in 1.14 Pre-Release 2

Still in 1.14 pre-3, 1.14 pre-4 and 1.14 pre-5
Details to add to the description of the ticket:
Both are trying to be used at the same time, they both do their loading animation, but:
Only the bow will shoot its arrow and the trident will not be thrown
Only the shield will be used and the trident will not be thrown
Finally, we can conclude that despite the fact that the trident is in the main hand, it does not have priority over other objects (which have a right click and are in the secondary hand).
[media][media]

Still in 1.14 Release

Still in 1.14.1 Release

Still in 1.14.2 Pre-Release 1 and 1.14.2 Pre-Release 2
