how do I create a custom attack that like a projectile

Started by GhostlyBlob on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 hour ago
Joined May 2024
Points:
92

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 25
how do I create a custom attack that like a projectile

I am working on a mod that has a bunch of things I like one thing in there is jjk and I'm trying to make one of gojo's attack be launches a small blue orb at the player and the get pulled to the orb and the orb would on last for around 5 seconds but it would constaly do damge in those five seconds does anyone know how to do this

Active 2 days ago
Joined Dec 2024
Points:
20

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
Go to AI and goalscheck …
Sat, 03/22/2025 - 08:27

Go to AI and goals
check "enable ranged attacks"
then choose the projectile
set the attack interval and radius
and then you're done.