Fast firing machine gun and cooldown ticks

Started by ArbiterOfLyell on

Topic category: Help with modding (Java Edition)

Last seen on 02:22, 7. Apr 2022
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Fast firing machine gun and cooldown ticks

RN I got a bit of a problem. I have a machine gun item (Item, NOT Ranged Item) and I want it to fire faster. Right now I have it working on a cooldown system between each round, but I can only make that cooldown a minimum of 1 tick. Any way I can make it faster? Because there are plenty of mods with faster firing guns than this.
gunnedsasdf

Last seen on 17:38, 6. Mar 2024
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe you could surround the…
Thu, 03/10/2022 - 07:01

Maybe you could surround the shooting code with a repeat 3 times or something

Last seen on 02:22, 7. Apr 2022
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nah, doesn't work
Tue, 03/15/2022 - 04:18

Nah, doesn't work

Last seen on 19:56, 19. May 2024
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So i have a way i do it, it…
Sat, 03/19/2022 - 04:26

So i have a way i do it, it may not be performance friendly but here it is:

 

shoot

 

So the image shows [Clicking once shoots 5 shots within 5 ticks]

You have to change it around, add more, remove some, change the ticks and so on to fine tune it to what you want.

Last seen on 02:22, 7. Apr 2022
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks man
Sun, 03/20/2022 - 05:58

Thanks man

Last seen on 19:56, 19. May 2024
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No problem, hope it helps!
Sun, 03/20/2022 - 12:06

No problem, hope it helps!