mojira.dev
MC-226963

Peaceful animals will path find wrong when hit with large amounts of knockback

Animals who do the "panic running" would path find to a block near the location where they were hit. When hitting them with a custom knockback enchantment item to make them go more blocks away, they walk in a straight line towards the block they originally targeted. This results in the mobs walking back towards the location they where hit at. They also don't attempt to jump over blocks when they need to.

Sometimes this doesn't happen but most of the time it does when hitting the mob (happen more than doesn't) I tested only on 1.16.5 with cows chickens and sheep, all same results. Also usually when colliding in a side of a block it seems to not happen. The knockback item was a renamed stick with knockback 8.

The video was filmed with a fabric loader but tested in vanilla 1.16.5 and still occurs.

It would be nice to fix because I use a custom knockback enchantment stick to move animals away when building but they come right back.

Linked issues

Attachments

Comments 4

Invalid, modified game

Just tested on 1.16.5 vanilla still happens.

Thank you for your report!
We're tracking this issue in MC-150839, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
๐Ÿ““ Bug Tracker Guidelines โ€“ ๐Ÿ’ฌ Community Support โ€“ ๐Ÿ“ง Mojang Support
๐Ÿ““ Project Summary โ€“ โœ๏ธ Feedback and Suggestions โ€“ ๐Ÿ“– Game Wiki
-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

Nomis180

(Unassigned)

Unconfirmed

(Unassigned)

1.16.5

Retrieved