Make mob walk to certain world position

Started by MandMs05 on

Topic category: Help with modding (Java Edition)

Last seen on 06:06, 3. Apr 2024
Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make mob walk to certain world position

I have a mob I would like to walk to a certain position in the world.

If it sees diorite, I want it to walk up to the diorite. Something like this.
Any idea how I would go about doing this?

 

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you need to code that...
Fri, 03/06/2020 - 02:10

you need to code that...

Last seen on 06:06, 3. Apr 2024
Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well then do you have any…
Fri, 03/06/2020 - 05:12

Well then do you have any idea what function I'd be running or where I'd put that? I have basic programming skills, I just have no idea what I'm doing with Java.

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think you need to code…
Fri, 03/06/2020 - 05:29

I think you need to code your onw pathfinding AI rather than extending vanilla ones so yeah it's pretty advanced

Last seen on 06:06, 3. Apr 2024
Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I've got an idea for how I…
Fri, 03/06/2020 - 05:53

I've got an idea for how I could do that if I knew how to make it walk even in just a straight line.

Last seen on 20:57, 18. Apr 2024
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Found a way to make the…
Fri, 10/28/2022 - 13:13

Found a way to make the entity walk?

Last seen on 08:31, 23. Dec 2023
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am also very interested!…
Tue, 07/25/2023 - 06:49

I am also very interested! did you find a solution to our problem?