How to make projectile locate it's shooter.

Started by CharlyMan on

Topic category: Help with modding (Java Edition)

Last seen on 04:08, 14. Dec 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make projectile locate it's shooter.

Hi, I'm trying to make a mod that has boomerangs in it but I need it when the projectile hits a block or get out of a 15 block radius of the player it will locate the player and move itself toward the player. And I already have it figured out how to catch the projectile in case your wondering.

Last seen on 04:08, 14. Dec 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay so I found out how to…
Wed, 07/13/2022 - 23:10

Okay so I found out how to make it so if it hits an entity it will come back to the player but not with hitting a block or getting too far away from the player

 

Last seen on 04:08, 14. Dec 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
okay, nevermind, my system…
Wed, 07/13/2022 - 23:19

okay, nevermind, my system doesn't work