Topic category: Advanced modding
I created a gun item in 1.7.9. and it works great! However, I would like the projectile to fire in a straight line, and not arch how an egg or a snowball would. I've locked the code so I can edit the java under code view. I'm trying to find the line of code that will allow me to manipulate the physics of the projectile. What do I need to add or change in order to accomplish a straight forward firing projectile for my new item?
Thanks for the assistance!