mojira.dev
MC-266567

Breezes won't lose track of and keep shooting at players through blocks

When the breeze starts shooting a player and said player hides behind a wall, even if the mob can't pathfind to the player's location or it can't see them, the breeze will still uselessly attack and never lose track of them.

How to reproduce

  1. Build a little room/hollow box, so the mob doesn't escape.

  2. Ensure there's a way for only you to get out of the room (a door or something else).

  3. Summon a breeze inside and put your game mode to survival.

  4. After the breeze tracks you, exit the room ensuring the mob doesn't escape.

  5. Notice how after some time, the breeze will still shoot at you even if it can't see you.

Expected result
The breeze would lose track of players behind walls, like other hostile mobs.

Observed result
The breeze keeps attacking at the player behind blocks, even though they can't knockback or damage them.

Linked issues

Attachments

Comments 4

I want to ask for a review of this issue as there's inconsistencies with this behavior.

Some of my testing seems to indicate that breezes tend to lose aggro to players on weird instances. If they're trapped in some configurations like the one in this image, they'll eventually forget about the player after being hit. This happens when the player is walking around the box.

[media]

But also in other reasons for asking the reopen, is because this behavior is inconsistent with most hostile mobs in the game, even the Blaze which is the closest mob there is to the Breeze. Blazes don't keep shooting at player behind walls, as this was a bug for some time and got fixed around 1.14 (see MC-47699), however they still kinda track players in some way but that's a bug tracked in MC-160119 with Mojang priority already.

I think it's also worth noting that there are some redstone machines that use wind charges shot from breezes that have been broken since 1.21.2 because of this.

This is no longer an issue since a few snapshots ago. The last time I tested this breezes no longer kept shooting indefinitely.

They don't shoot indefinitely but they still shoot for much longer than they should

syarumi

(Unassigned)

Community Consensus

Mob behaviour

23w45a

Retrieved