Wynncraft lightbender

Hello I am to make an origin (it is a mod that allows datapack use to create custom species/classes for the game) for a friend's server that is themed around magic and I thought that the ball ability of the lightbender mage archetype in wynncraft would be a great thing to add. I figured it would be more beneficial to ask here than in the origins discord itself as it is more related to datapacks rather than origins (I think)

Is it possible to recreate this ability? It has 4 features to it I'd say:

  • Summoning the balls (I would use origins to run the command(s) on a key press)
  • idle (the balls spin around in a circle on the players back while idle)
  • attack (when the player left clicks one of their balls goes forward and hits whatever is in front)
  • die (the balls have hp that gets damaged every time they hit an enemy, but I suppose it could settle for only lasting 20s or something if this is easier)

So, is it possible? If so, how would I go about doing it? I'm goodish at making origins datapacks but I don't really know how to do the technical bits of datapacks

I'll see if I can find a video to show what I mean if that helps

(Also I have no idea what flair to use for this so I'll put beginnner and hope itnis right)

Continue to help post