The bug
If you right click an interactive block through water while holding an item that can be used on it you will use the item instead of interacting with the block.
The following items can be used on water:
Spawn eggs
Lily pads
Empty Buckets
Fish buckets
Glass bottles
Boats
Frog Spawn
The following items can be used on lava:
Spawn eggs
Empty Buckets
Boats
How to reproduce:
Dig a hole 2 blocks deep
Place a crafting table
Place water on top of it
Hold one of the listed items in your hand
Don’t sneak
Right click
❌ You will use the item in your hand on the water instead of opening the UI of the crafting table.
Expected result: You should interact with the crafting table. When looking at an interactive block while not sneaking, you should always interact with the block, no matter what item you are holding in your hand.
Related issues
Attachments
Comments


Affects 1.17.10

Affects 1.18.1
fixed in 1.19.10.20
mentioned in the changelog as: "Fixed interaction priority when using a Bucket on a waterlogged and interactable block, eg. Lever (MCPE-154221)"