mojira.dev
MC-263895

Certain mobs have unnatural reach when aggravated towards another

If a zombie is aggravated towards another zombie, the aggravated zombie will be able to hit the other zombie from many blocks away.

Steps to reproduce:

  1. Go into a superflat world, preferably with mob spawning disabled from the world creation screen and with the Redstone Ready template (ensuring that no mobs have a chance to spawn on their own, otherwise it might interfere)

  2. Set the time to 18000 (so that the zombies don't burn)

  3. Run this command: /execute at @e[type=zombie,limit=1] run execute as @e[type=zombie,limit=1,sort=furthest] run damage @e[limit=1,type=zombie,sort=nearest] 0 minecraft:generic by @s

What I expected:

  • They would have to approach each other to attack each other

What I observed

  • They do not have to approach each other to be able to attack each other, in spite of the distance being too long for them to theoretically be capable of attacking each other

Linked issues

Comments 2

Duplicate of MC-110386; it's not reach, it's horde mentality on one self.

Oh, I see. Soneone's got to close this then. Hope it gets fixed.

\

(Unassigned)

Unconfirmed

(Unassigned)

1.20.1

Retrieved