Wuzzy2 / MineClone2-Bugs

Bug tracker archive for MineClone 2 (no new posts allowed)
MIT License
7 stars 0 forks source link

Mobs are too stupid to walk around obstacles #476

Open Wuzzy2 opened 6 years ago

Wuzzy2 commented 6 years ago

Seems like animals are a bit stupid. If animals are attraced by something you hold in your hand, the mobs fail to find a way around obstacles. They try to walk the direct way. If a wall is in the way, they just walk into the wall and never reach the destination.

How to test:

kwadroke commented 6 years ago

Similar to issue #389. Mobs don't know they can't jump any higher, but, try anyway. Sometimes they slide over and are successful when the ground allows (except sometimes rabbits if on snow), but, usually are just stuck until they de-spawn.

Running commit 34292ece10fd1d3f95bcd3cdba83df72e3a77255 See screenshots below.

screenshot_20180529_120232 screenshot_20180529_120310 screenshot_20180529_120259 screenshot_20180529_120236 screenshot_20180529_120218 screenshot_20180529_120039 screenshot_20180529_120016