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

Some mobs can still attack you through blocks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 23w35a
    • 23w33a
    • None
    • Confirmed
    • Mob behaviour
    • Normal
    • Gameplay

      Despite the fix of MC-2310, some mobs can still hit you through walls and corners, when they're aggravated. The list of mobs is as follows:

      • Bee
      • Iron golem
      • Panda (aggressive)
      • Polar bear
      • Spider
      • Cave spider
      • Ravager (might be intended?)

      These mobs can still attack you diagonally through blocks or even if there's thin blocks in between, like trapdoors. The rest of mobs like zombies, hoglins and wardens (melee) are unable to attack through blocks as expected.

      How to reproduce

      1. Spawn one of the mobs on the list, either inside a box with no outer corners or beside a wall of trapdoors.
      2. Apply slowness if necessary.
      3. Aggravate the mob by letting it see you, then quickly hide on the other side of the wall(s) very close to its hitbox.
      4. Notice you get hit by the mob.

      Expected result
      These mobs would be unable to hit you through walls/corners, as they're unable to see the player, like how the rest of mobs do.

      Observed result
      These mobs can still hit you through walls and corners, even if the conditions haven't been met.

        1. 2023-08-17_18.28.09.png
          2023-08-17_18.28.09.png
          151 kB
        2. 2023-08-17_18.21.08.png
          2023-08-17_18.21.08.png
          144 kB
        3. 2023-08-17_18.32.54.png
          2023-08-17_18.32.54.png
          232 kB
        4. 2023-08-17_19.40.07.png
          2023-08-17_19.40.07.png
          369 kB
        5. 2023-08-17_19.40.28.png
          2023-08-17_19.40.28.png
          549 kB

            gnembon [Mojang] Gnembon
            Chavamix700 syarumi
            Votes:
            10 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: