Description: When the player takes an item out of an oak shelf while holding a usable item (e.g., a firework rocket) in the offhand, the offhand item’s right‑click action is performed unintentionally, even though the interaction is solely directed at the shelf. This causes unwanted effects such as launching fireworks, eating, or drinking.
Steps to reproduce:
Place an oak shelf on a solid block.
Put a grass block into the oak shelf (by right‑clicking on the shelf with the grass block in the main hand).
Move a firework rocket to the offhand slot (main hand should be empty or hold an item without a right‑click action).
Right‑click on the oak shelf to take the grass block out.
Observed result: The grass block is successfully removed from the shelf, but at the same time the offhand firework rocket is ignited and launches (or its corresponding action is executed).
Expected result: Only the grass block should be taken from the oak shelf. The offhand rocket should remain unused and its action should not be triggered, because the player is interacting with the shelf, not with the offhand item.
Thank you for helping us improve Minecraft! We saved your files: