mojira.dev
MC-274307

Hostile mobs with melee attacks that are in boats can attack at any angle

The Bug:

Hostile Mobs in Boats can attack at any angle. This is a repost of MCPE-16938 for Java, and this somehow relates to MC-137793.

Steps to reproduce.

  1. Build this structure:

    [media]

    The boat should be right in front of the fence, and the boat should face away from the fence.

  2. Put a husk in the boat.

  3. Stand right behind the boat and the fence while the husk is in the boat.

  4. Take note as whether you are attacked or not.

Expected Result:

The attack angle of mobs in boats should be restricted the same as players.

Observed Result:

The attack angle of mobs in boats can go even backwards in boats, which can attack the player standing both behind the fence and the boat.

Linked issues

Attachments

Comments 1

TheMightyDark

(Unassigned)

Confirmed

Mob behaviour

incorrect-mob-behaviour, mob-behavior

1.21

Retrieved