How do i make my entity NPC walk

Started by AndreychelQx on

Topic category: Help with modding (Java Edition)

Last seen on 19:56, 28. Mar 2024
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do i make my entity NPC walk

Hello! (sorry for my english, now i'm living in Ukraine and and can't fully learn it)

I plan to make a public story mod in minecraft, which will have its own interesting lore, dialogues, characters, chapters.

but there's problem with characters, i need to make entities like NPCs, so that they can walk from point A to B according to the script, procedure. In other words, I need a procedure that will make the character exactly WALK along a given route from point A to B.


Is there any way to do this with MCreator? or if there are other ways with custom code, then someone can share it, give examples of work? 

Thank you for your attention

 

 


 

 


 

Last seen on 17:27, 27. Mar 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Have you solved this problem…
Thu, 01/25/2024 - 09:13
Have you solved this problem? I'm also interested in how to do this
Last seen on 20:37, 28. Mar 2024
Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There's a block in the…
Thu, 01/25/2024 - 11:30

There's a block in the entity procedures tab that might work

"Attempt to make [event/target entity] find path and move to x: y: z: with speed factor [1]"

I've never used it before, and I'm experiencing issues that prevent me from running mods so I can't confirm that it will work