[Help] Need Help With Mob Pathfinding

Started by Livestreamfox on

Topic category: Help with Minecraft modding (Java Edition)

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
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

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?

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.