Mojira Archive
MC-101169

Double slab creation over offhand

The bug

When you press the place/interact key with a slab item on a bottom slab, it tries to place it, even when that action collides with an entity. Meaning: It plays the animation and off-hand items can't be used.

How to reproduce

  1. Slab on floor
  2. Slab in main hand
  3. Bow/food/whatever in off-hand
  4. Stand on slab
  5. Look down
  6. Press action key (standard: right click)
    → Bow/food doesn't get triggered, but slab, although it can't be placed.

Code analysis

Code analysis by Marcono1234 can be found in this comment.

Fixed

Fabian Röling

2016-04-22, 04:11 PM

2018-10-31, 05:14 AM

2018-10-31, 05:14 AM

4

3

Confirmed

Minecraft 1.9.3 Pre-Release 1 - Minecraft 1.12.2Minecraft 1.9.3 Pre-Release 1, Minecraft 1.10.2, Minecraft 16w43a, Minecraft 1.12.1, Minecraft 1.12.2

Minecraft 17w47b