Spawn ranged projectile when item is swung

Started by Geilosaurus on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Spawn ranged projectile when item is swung

Hi, so I wanted to make a staff that shoots a custom projectile with the "when entity swings item" trigger, but I don't know how to do that, since the way of spawning projectiles has been updated.

Some time ago it was easy: just create a new ranged item with the projectile and then you could call that "shoot projectile of type [custom proj.]" in a different procedure, but that just doesn't work anymore. So how do I do this now?

 

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What do you mean it doesn't…
Fri, 09/02/2022 - 10:51

What do you mean it doesn't work? How does it spawn