How do I fix projectile shooting procedure not shooting projectiles sometimes

Started by samehackofficial on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I fix projectile shooting procedure not shooting projectiles sometimes

Hello, I have a mob I'm creating that plays an animation and shoots at a certain part of the animation, and to do this, I use the mob's "on tick" procedure. I made a variable in synced data that tracks the animation's progress, and when it gets to the part of the animation where it's supposed to shoot, half of the time it doesn't even shoot or the shot is delayed, I'm using the "Shoot [projectile] from [x] [y] [z] with direction [dx] [dy] [dz] speed [speed] inaccuracy [inaccuracy]" block to shoot projectiles. Please help me with this issue.