How To Make Item Spawn When Player Uses Bow?

Started by temutsaj on

Topic category: Help with modding (Java Edition)

Last seen on 16:13, 20. Jul 2024
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How To Make Item Spawn When Player Uses Bow?

Hi I'm trying to make it so when the player fires a projectile from a custom bow, every third time he fires one, one of the projectiles spawn where he fired it. I have it triggered to "When Player Finishes Using Item" Trigger. Here's the code, what am I doing wrong?

Here is a screenshot of the code: https://postimg.cc/Ny0V5xJY
Thanks
 

Last seen on 16:13, 20. Jul 2024
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I've believe I've figured it…
Tue, 05/21/2024 - 19:59

I've believe I've figured it out.. I triggered this procedure through the custom projectiles "When Projectile Hits A Block" trigger and it works well with one bow, but not for the other bow. interesting.

Hope this helps anyone.