How do I make a ranged weapon fire multiple bullets?

Started by Ball-van on Mon, 06/07/2021 - 08:36

Topic category: Help with modding (Java Edition)

Last seen on 19:05, 30. Jul 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I make a ranged weapon fire multiple bullets?
Mon, 06/07/2021 - 08:36

Hello everyone!

I want to make a weapon like a shotgun, but I don't know how to make a range weapon fire multiple rounds at once. I would be very glad if you told me how this can be done.

Last seen on 12:20, 26. Jun 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I think you can make a…
Mon, 06/07/2021 - 16:25

I think you can make a procedure for that when you shoot, it summons more bullets, say, 5 times, so you have 6 in total. A shotgun would spread however, and I don't really know how to do that unfortunately

Last seen on 12:20, 26. Jun 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Edit: I think you might be…
Mon, 06/07/2021 - 16:27

Edit: I think you might be able to use the override motion vector block somehow? 

Last seen on 19:05, 30. Jul 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Hey! Thank you very much for…
Thu, 06/10/2021 - 10:49

Hey!

Thank you very much for your help.