mojira.dev
MC-160910

Sheep pathfinding gets confused by rails

I was luring a sheep into my base with some wheat, and it couldn't get in until I removed the rails from this patch of dirt here (see screenshot). This isn't the only place where the sheep perceived the rails as an obstacle: getting them across a 1-block-wide railroad bridge was a nightmare, so this looks like a systematic thing. I get it that sheep are supposed to be stupid, but their locomophobia (is this a word?) in particular seems like a bug.

Linked issues

Attachments

Comments

Alex Malski

I checked the threads you linked as original instances of this report and found this:

>Mobs no longer walk over rails unless they are pursuing the player.

Then I guess my question is: Shouldn't being lured count as pursuit for this purpose? Also, I don't just mean crossing the rails (sometimes the sheep figure this one out, though sometimes they don't), I mean walking along the rails as well.

Alex Malski

(Unassigned)

Unconfirmed

(Unassigned)

1.14.4

Retrieved