Scatter Projectiles?

Started by 2Cool4u on

Topic category: Help with modding (Java Edition)

Last seen on 01:13, 25. Apr 2024
Joined Apr 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Scatter Projectiles?

I'm adding weapons to my mod and was wondering if I can make a ranged item shoot multiple projectiles scattered. I tried adding multiple projectiles by making the item shoot more but they're inside of each other and don't really scatter like I want, any help. Similar to a shotgun.

Last seen on 09:33, 11. Nov 2022
Joined Apr 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
hello
Fri, 08/06/2021 - 17:27

hello

Last seen on 01:00, 12. Aug 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This may be a bit late, but…
Fri, 08/06/2021 - 19:24

This may be a bit late, but oh well

 

This tutorial should be the one that should help: https://mcreator.net/forum/69545/tutorial-shotgun-multiple-projectiles, but I'm unable to find the spots where the projectiles are angled out.

 

Alternatively, you can set the random(0,1) block inside of the launch projectile function for the power input, and the bullets will have different launch trajectories