mojira.dev
MC-250301

Warden can't walk past ladders

I was messing around with a named warden and I had it chase me throughout the ancient city. I noticed that it had stopped chasing me so I went to go see what it was stuck on. The warden was stuck trying to walk past a ladder in the ancient city corridors.

The bug:
Warden's can't walk past ladders.
What I believe is happening is the warden is trying to path find through the block that has ladders, but it's hitbox is colliding with the ladder so it can't move forward. Here's a scuffed drawing of what I think is happening.

[media]

Steps to reproduce:

  • Create a corridor with ladders on one side like in the picture below.

    [media]
  • Summon a warden.

  • Attack the warden when it is near the side with ladders.

Observed results:
The warden can't walk past the ladder

Expected results:
The warden will walk past the ladder

Linked issues

Attachments

Comments 7

I was unable to reproduce this. The warden walked past the ladders as expected

That's odd because I can replicate it quite easily.

[media]

This can happen naturally when a warden tries to pathfind across a ladder to a target on the other side.

[media]

Hey! Naturally, the warden's hitbox is almost equal to that of a 2x2 room. Although a ladder is only a sliver of a block, it still prevents the warden from progressing forward and also will keep the warden stumped due to its perk of pathfinding. Depending on the circumstance though, it may be able to turn past it.

Can confirm in 23w42a. The warden can go around the ladder if the player is close enough, and far enough to the right of the ladder.

Eometheous

(Unassigned)

Confirmed

Gameplay

Low

Mob behaviour

pathfinding, warden

22w15a, 22w16a, 22w17a, 22w18a, 22w19a, ..., 1.19.1, 1.19.2, 1.20.2, 23w42a, 1.21.3

Retrieved