Help making projectile go straight

Started by Squigg_Dog8 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help making projectile go straight

Is there any way possible to make a projectile that just goes straight, kinda like a wither when he shoots a skull? An answer would be very helpful. Thank you!

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You'll need to edit the code…
Sat, 08/28/2021 - 00:41

You'll need to edit the code to do it. But, open (RangedItemName).java, on the right, click "tick()" under "ArrowCustomEntity", and under where it says "Entity entity = this..." add "setNoGravity(true)" (Without the "'s of course)

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wow thank you so much! Sorry…
Wed, 11/24/2021 - 21:32

Wow thank you so much! Sorry I'm so late to look at this. I cannot thank you enough!