[SOLVED] Help make mod pick up projectiles

Started by paulr on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[SOLVED] Help make mod pick up projectiles
Fri, 05/08/2026 - 17:06 (edited)

I have a boss mob, which shoot 1 big projectile, I want it to only throw it again after it pick the projectile up. The projectile is pick-upable, how can I check if it had picked it up?

Edited by paulr on Fri, 05/08/2026 - 17:06
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need to use a procedure to…
Fri, 05/08/2026 - 09:00

Need to use a procedure to activate after they shoot, then make them find path towards, nearest entity of type your projectile. Then if the entity doesn't automatically pickup the projectile, you can check for whether they are at the same coordinate. If so you despawn the projectile and then allow the boss to shoot again.

Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks!
Fri, 05/08/2026 - 17:06

Thanks!