Help making projectile go straight

Started by Squigg_Dog8 on

Topic category: Help with modding (Java Edition)

Last seen on 22:15, 1. Mar 2024
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!

Last seen on 02:13, 22. Jan 2023
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)

Last seen on 22:15, 1. Mar 2024
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!