How do I make a long-range weapon require a projectile to survival?

Started by MisterSmeet on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a long-range weapon require a projectile to survival?
Fri, 04/11/2025 - 18:00 (edited)

how do I make a long-range weapon check if there is a projectile in the  inventory? On survival.

Edited by MisterSmeet on Fri, 04/11/2025 - 18:00
Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This should do it. I didn't…
Fri, 04/11/2025 - 20:49

This should do it. I didn't test it, so I'm not sure. You also have to figure out how to trigger it.
https://imgur.com/a/w5uFYdM