[Help] Need Help With Mob Pathfinding

Started by Livestreamfox on

Topic category: Help with modding (Java Edition)

Last seen on 17:35, 4. Mar 2023
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[Help] Need Help With Mob Pathfinding
Tue, 08/16/2022 - 17:30 (edited)

I am making a lobster mob and I need it to pathfind to water when it is out of water like axolotls but i could not find a way to code its path finding where and how can I do that?

Edited by Livestreamfox on Tue, 08/16/2022 - 17:30
Last seen on 11:34, 9. Oct 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can use avoid water with…
Wed, 07/27/2022 - 08:32

you can use avoid water with negative speed value so it walks into it instead

Last seen on 13:56, 19. Dec 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But then it would be facing…
Wed, 07/27/2022 - 14:05

But then it would be facing other direction right?

Last seen on 17:35, 4. Mar 2023
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I tried but it does not work…
Wed, 07/27/2022 - 16:16

I tried but it does not work like that instead lobsters walk backwards in water they still don't pathfind into it.