Right-clicking does not use the item in your offhand while aiming some blocks that you can’t interact with, including:
Command Block and Structure Block (when you are in survival mode)
Cake (when you are full)
Iron Door
End Portal Frame (with or without ender eye on it)
Vault
Chiseled Bookshelf
Decorated Pot
Composer
Unchanged Respawn Anchor
Steps to reproduce
Enter a world with “Off-hand Parity“ enabled.
Hold a Water Bottle in you offhand.
Right click while aiming those blocks.
Expected result
Since there’s no action to do with your main hand, you would use the item in your offhand.
Actual result
Nothing happens.
Thank you for helping us improve Minecraft! We saved your files: