-
Bug
-
Resolution: Fixed
-
Minecraft 15w31b, Minecraft 15w31c, Minecraft 15w32c, Minecraft 15w33b, Minecraft 15w33c, Minecraft 15w44b, Minecraft 15w49b, Minecraft 16w03a, Minecraft 1.9.2, Minecraft 16w15b, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 1.10 Pre-Release 1, Minecraft 1.10.2, Minecraft 16w39a, Minecraft 16w42a, Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w13b, Minecraft 17w16a, Minecraft 17w16b, Minecraft 17w18b, Minecraft 1.12 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w45b, Minecraft 18w07a, Minecraft 18w11a, Minecraft 18w20c, Minecraft 18w22c, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre5, Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13, Minecraft 18w30a, Minecraft 18w30b, Minecraft 18w31a, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w03a, Minecraft 19w03b, Minecraft 19w03c, Minecraft 19w04a, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w08b, Minecraft 19w09a, Minecraft 19w11a, Minecraft 19w11b, Minecraft 19w12a, Minecraft 19w12b, Minecraft 19w13a, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14 Pre-Release 1, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 5, Minecraft 1.14, Minecraft 1.14.1 Pre-Release 1, Minecraft 1.14.1, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 1, Minecraft 1.14.3 Pre-Release 2, Minecraft 1.14.3 Pre-Release 3, Minecraft 1.14.3 Pre-Release 4, Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 1, Minecraft 1.14.4 Pre-Release 2, Minecraft 1.14.4 Pre-Release 3, Minecraft 1.14.4 Pre-Release 4, Minecraft 1.14.4 Pre-Release 5, Minecraft 1.14.4 Pre-Release 6, 1.14.4 Pre-Release 7, 1.14.4, 19w34a, 19w35a, 19w37a, 19w38b, 19w38a, 19w39a, 19w40a, 19w41a
-
Confirmed
-
(Unassigned)
The bug
Blocks cannot be placed on fences with the off-hand.
How to reproduce
- Hold torch in offhand
- Right click on top of a fence
- You can't place it
Code analysis
The method net.minecraft.block.BlockFence.onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) returns true if your mainhand is empty or holding a lead. This is also the reason for MC-21433. Since the method returns true when there's nothing in your mainhand, the offhand is ignored.
- is duplicated by
-
MC-85571 torches can not be put on fences using the hotkey f
- Resolved
-
MC-86447 Offhand place doesn't work on fence
- Resolved
-
MC-86764 Bugs Fence + torche
- Resolved
-
MC-94047 UNABLE TO PLACE TORCH ON A FENCE WITH THE LEFT HAND
- Resolved
-
MC-96075 Carpets can't be put on fences when the carpet is in offhand
- Resolved
-
MC-101092 Fences preventing offhand action
- Resolved
-
MC-101588 Shield Slot Torch Placement
- Resolved
-
MC-107715 When fence is in off hand and you try to place it ontop of another fence it wont let you.
- Resolved
-
MC-109530 Can't place torch on fence with off-hand
- Resolved
-
MC-130787 I was not able to put a torch on fence when I had nothing in my right hand
- Resolved
-
MC-153325 Torch bug not fixed -> MC-131249
- Resolved
-
MC-161247 Cannot place torch on fence if torches are in offhand and main hand is empty
- Resolved
- relates to
-
MC-114718 Right clicking cake with empty main hand does not use item in off-hand
- Open
-
MC-93651 No placement sound when placing blocks on fence
- Resolved
-
MC-106826 Can interact with (eat) cake in creative mode/hunger bar is full
- Resolved
-
MC-160894 Shovel swings when right-clicking on any block
- Resolved
-
MC-161220 Right-clicking on a button while it's pressed inwards still plays a hand animation
- Resolved
-
MC-4582 Can't eat, throw, or shoot while looking at an Iron Door/Iron Trapdoor
- Resolved