Is there a way to add a fire interval/delay or draw time to ranged weapons?

Started by Trinicrafter10 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there a way to add a fire interval/delay or draw time to ranged weapons?

Currently if you hold right click it will just shoot projectiles indefinitely. Is there any way to make it so there's some kind of delay between shooting, or a draw time of sorts? Any help would be appreciated! I'm assuming doing this would require doing something with the 'when fired/right clicked' process, but have no idea what to put there to do this.

Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes! When you are setting…
Wed, 02/06/2019 - 11:23

Yes! When you are setting the "Bow"
there is a setting that increases speed!

Joined Oct 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I access this setting…
Wed, 02/06/2019 - 20:25

How do I access this setting and make it faster/lower?

Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you're talking about…
Sun, 02/24/2019 - 07:09

If you're talking about setting a Bow animation, similar to the vanilla Bow, I'm not sure if that's something that's possible just yet, I could be wrong. The "Ranged Item" has mostly been seen as a Gun type of ranged item.

I'm personally looking to see myself if there's a way to have Bows use a draw animation.

Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i also want this issue fixed…
Tue, 08/22/2023 - 21:15

i also want this issue fixed bc my SNIPER can be spammed SEVERAL TIMES PER SECOND. if someone could actually resolve this issue and make it fire like a crossbow that would be great cuz right now automatic weapons are useless

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
use a procedure, on item…
Tue, 08/22/2023 - 21:29

use a procedure, on item right clicked.  There is a simple cooldown provided itemstack procedure block that will do what you want(20 ticks=1 second)