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

Iron golem reach is too small

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.20.2, 23w40a
    • None
    • Confirmed
    • (Unassigned)

      The bug

      The iron golem's reach is not as big as it used to be. In 1.20.1 and earlier, the golem could reach more than one block beyond the edge of its hitbox. Now, it can't even reach one block away from its hitbox.

      How to reproduce

      1. Spawn an iron golem that can't move:
        /summon iron_golem ~ ~ ~ {Attributes:[{Name:generic.movement_speed,Base:0}]}
      2. Stand 2 blocks away from the iron golem:
        /execute at @e[type=iron_golem,limit=1,sort=nearest] run tp ~ ~ ~2
      3. Attack the iron golem while in Survival mode
        The iron golem doesn't attack you back (since you are out of reach)

      Expected result

      The iron golem should be able to attack you, as is observed in 1.20.1 and below (in these earlier versions, the iron golem's attack range is around 2.9 blocks).

        1. 1.20.1.mp4
          7.69 MB
          Fortun8diamond
        2. 1.20.2.mp4
          7.40 MB
          Fortun8diamond

            Unassigned Unassigned
            Fortun8diamond Fortun8diamond
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: