Entity move in a circle around target

Started by AkiraYukiharu on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined Aug 2022
Points:
309

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 10
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

Active 1 month ago
Joined Dec 2022
Points:
289

User statistics:

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

Try a random integer block.

Active 1 year ago
Joined Aug 2022
Points:
309

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 10
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