-
Bug
-
Resolution: Fixed
-
Minecraft 1.11.2, Minecraft 1.12 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 1.13, Minecraft 18w30b, Minecraft 1.13.1-pre1, Minecraft 1.13.1-pre2, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w06a
-
Confirmed
-
(Unassigned)
The bug
When you right click a snow golem (or snowman) wearing a pumpkin with shears while you have another item with right click ability in your offhand, the item in your offhand is used as well.
How to reproduce
- Spawn a snow golem with pumpkin
- Put shears in your mainhand and an item with right click ability in your offhand, for example a fishing rod
- Right click the snow golem
→ You will see that the snow golem was sheared but you also used the item in your offhand
Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
The method net.minecraft.entity.monster.EntitySnowman.processInteract(EntityPlayer, EnumHand) does not return true when the snow golem was sheared.