How do i make my entity NPC walk

Started by AndreychelQx on

Topic category: Help with Minecraft modding (Java Edition)

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

 

 


 

 


 

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