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

Started by Trinicrafter10 on

Topic category: Help with modding (Java Edition)

Last seen on 04:39, 13. Nov 2023
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

Last seen on 05:29, 31. Jan 2022
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?"

Last seen on 04:39, 13. Nov 2023
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

Last seen on 05:29, 31. Jan 2022
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

Last seen on 20:25, 25. Jun 2023
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.