Entity move in a circle around target

Started by AkiraYukiharu on

Topic category: Help with modding (Java Edition)

Last seen on 14:48, 17. Feb 2024
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity move in a circle around target

Hey guys, I made a drone that can shoot projectiles to its target, but currenty when in attack state, it just stay at one spot. This is why I want to make it move to random direction to the left or right while in attack state but I dunno how

Please help, thx :)

https://imgur.com/a/jJX2WXc

Last seen on 21:37, 17. Feb 2024
Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try a random integer block.
Fri, 09/15/2023 - 15:27

Try a random integer block.

Last seen on 14:48, 17. Feb 2024
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I tried, but it will move…
Sat, 09/16/2023 - 12:46

I tried, but it will move consecutively to the left and right, not around the target