Help for a "wave defense" mod I'm working on

Started by ruoshili on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help for a "wave defense" mod I'm working on

I'm trying to make a minecraft map inspired by TF2's Mann vs. Machine gamemode, and the first step requires me to make a procedure that gives the robots an AI able to pathfind to the bomb chute (and maybe a second objective along the way). I can't seem to figure it out no matter how hard I try, which is why I'm looking for help. 

I'm working on version 2024.4

Thanks in advance!

 

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
use the block "attempt to…
Wed, 03/12/2025 - 18:19

use the block "attempt to make event/target entity find path x, y, z with speed factor [number]" and put the x,y,z values of the block that marks your objective.

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you need to make a procedure…
Wed, 03/12/2025 - 18:19

you need to make a procedure seperate from your build in entity AI by using "on entity tick update" and checking if the entity is yours

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
wait, but how does it know…
Wed, 03/12/2025 - 23:37

wait, but how does it know where the block is?

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You put the cords in…
Thu, 03/13/2025 - 15:32

You put the cords in manually.

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I was hoping for a more…
Thu, 03/13/2025 - 21:10

I was hoping for a more nuanced approach, I tried using gamerules for that purpouse but then they just wouldnt pathfind.

Entering them manually would mean they only had 1 possible target