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

Zombie and vindicator breaking door ignores block change

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 15w51b, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 3, Minecraft 16w38a, Minecraft 16w42a, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, 1.16.1, 1.16.4, 20w51a, 21w05a, 21w05b, 21w06a, 21w17a, 1.17, 1.17.1, 21w40a, 1.18.1, 1.18.2, 22w11a, 1.19, 1.19.2, 1.20.1
    • Confirmed
    • Mob behaviour
    • Low
    • Gameplay

      The bug

      When a zombie starts breaking a door and during this the door gets replaced the zombie continues breaking this block.

      Additional description by kingsupernova:
      If a zombie begins to break a door but the door is removed before it's done, it will continue to try to break the block in that space. The door breaking sounds will continue to play even if there isn't a block there anymore, and the door particles will appear when the door would have broken. If the door is replaced with another block, that block will be broken instead, no matter what it is.

      Expected behavior

      Zombies and vindicators should not continue to break doors once a change in blocks has been made.

      Reproduction steps

      1. Ensure that the difficulty is set to "hard" and the "mobGriefing" gamerule is set to "true".
        /difficulty hard
        /gamerule mobGriefing true
        
      2. Build the setup as shown in the attachment below: setup.png
      3. Whilst standing on top of the diamond block, summon a zombie that is able to break down doors.
        /summon minecraft:zombie ~ ~ ~ {CanBreakDoors:1b}
        
      4. Stand on the opposite side of the door as the zombie, switch into Survival mode, and get it to notice you.
      5. Once it begins breaking the door, switch into Creative mode, destroy the door, and watch the behavior of the zombie closely.
        The zombie continues 'breaking' the non-existent door

      How to reproduce (outdated)

      See Minecraft - Block Breaker

      Additionally:

      • Set the difficulty to "hard"
      • Spawn the zombie or vindicator with {CanBreakDoors:1b}

      Note: The meta data of the placed block should not have bit 2 (22) set, otherwise the zombie will recognize it as open door.

        1. setup.png
          setup.png
          950 kB
        2. MC-95467.mp4
          5.78 MB
        3. 2018-12-16_17.35.06.png
          2018-12-16_17.35.06.png
          930 kB
        4. 2018-12-16_17.35.02.png
          2018-12-16_17.35.02.png
          929 kB
        5. 2016-01-12_23.07.11.png
          2016-01-12_23.07.11.png
          563 kB
        6. 2016-01-12_23.07.08.png
          2016-01-12_23.07.08.png
          560 kB

            Unassigned Unassigned
            marcono1234 Marcono1234
            Votes:
            25 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              CHK: