How do I make a gun that keeps shooting as you hold down right click?

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:
How do I make a gun that keeps shooting as you hold down right click?

I want to make a gun that keeps shooting if you keep holding down right click, how do I do it using procedures

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
when you create the "ranged…
Sun, 05/10/2020 - 06:20

when you create the "ranged item" mod element, after defining the model and texture, the next page are the protperties of the ranged item. in this page check the checkbox "shoot constantly when active?"

Joined Oct 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I used that, however the gun…
Mon, 05/11/2020 - 04:02

I used that, however the gun makes a punch animation every time it shoots. Is there any way to get rid of that

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
not without coding
Mon, 05/11/2020 - 15:32

not without coding

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
what I do is when the player…
Thu, 06/03/2021 - 19:17

what I do is when the player is holding the weapon, I give Haste V to the player, and since ranged items aren't tools, they break as slow as without tools, doing zero impact on gameplay, only on the looks. Requires 0 coding and works fine.