mojira.dev
MC-249517

Warden doesn't detect non-player mobs colliding with them

The Bug:
The Warden will attack every Mob in the game. If if the Warden receives too many vibrations from any mob, it will kill it. However, the Warden's collision only detects players, not all mobs.

Steps to Reproduce:

  • Create a small 4x4 area so the mobs can't travel far

  • Summon a few Zombies in the 4x4 area

  • Summon a Warden in the 4x4 area

  • Wait for the Zombies to collide with the Warden

Observed Result:
The Warden doesn't get angry when the mobs collide with it
The Warden only gets angry from vibrations and when sniffing the same mob after 3-4 sniffs

Expected Result:
The Warden will get angry from mobs that collide with it.

Attachments

Comments 7

Can confirm the collision and sniffing issues being player-only.

I've been testing this bug quite a bit. And here's what I've discovered. The Warden does sniff mobs and walk towards them. However, unlike players, the Warden doesn't get angry at the mob when it is close. It only gets angry at the mob when sniffing it a few times. Here is an example with an Enderman.

[media]


Right after that final sniff in the video. The Warden got mad.

Here is an example with me in the middle instead of the Enderman.

[media]


You can see the Warden gets mad at me right away.

I've updated the description above.

Another thing I just discovered. The Warden seems to get angry at mobs and players after 3 sniffs. That is probably why it gets angry at the Enderman in the new videos I provided.

With the player, the Warden gets angry at:

  • Vibrations

  • Collisions

  • 3 sniffs

With mobs, the Warden gets angry at:

  • Vibrations

  • 3 sniffs

I'm not sure if the fact that the warden gets angry after sniffing the player/mob 3 times is intended as it is never mentioned in the changelog, so you might want to create a new report regarding that.

@Chava I made a bug report regarding the 3 sniffs making it angry. In MC-249528 I found that it only gets angry at a mob or player after 3 sniffs if that mob or player is unreachable. It might be intentional, but I made the report regardless because, as you said, it isn't in the changelog.

Still happens in 22w14a even though it states it was resolved in this version.

Edit:
This is odd, it also isn't getting angry at player collisions either
Instead the Warden "takes notice"

So players and mobs can collide with the Warden 3 times and then it becomes angry.

I should create a new bug report for this

⚠️ Please do not add Affected Versions to resolved reports.

Have a look at the Resolution and the comments to see why this ticket has been resolved. If you think this ticket has been resolved erroneously you can contact the Mojira staff on Discord or Reddit.

-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

Eometheous

Erik Broes

Confirmed

Mob behaviour

warden

22w12a, 22w13a

22w14a

Retrieved