Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-132428

Client-side block model (of fences, iron bars, walls ...) is not updated when placement is cancelled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 22w11a
    • Minecraft 1.13-pre5, Minecraft 1.13.2, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 1.14, 1.14.4, 20w18a, 1.16.1, 20w51a, 1.17.1
    • None
    • Confirmed
    • Block states

      The bug

      When a fence is placed on a block and a mob is coming towards the block, the fence is first placed, but then is removed because of the entity. The texture of the fences around gets updated when the fence is considered as placed, but when the fence is removed, the texture is not updated.

      How to reproduce

      1. Place two fences from each other, so you can place on in the middle.
      2. Get sheep, a fence in your offhand and wheat in your hand.
      3. Press F3 + B; to enable hitboxes.
      4. Let the sheep walk through the gap between the two fence posts, and IF the sheeps hitbox is half way, place the fence.
        → Fence is placed for around a tick but gets removed; because its interfering with the sheep's hitbox. But; the fence's are shown as connected, they should be updated (as the fence is not placed).

        1. 2018-06-30_17.14.11.png
          275 kB
          Shinrod Dellore
        2. 2020-12-27_15.11.24.png
          643 kB
          [Mod] Avoma

            Unassigned Unassigned
            Shinrod Shinrod Dellore
            Votes:
            9 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: