Started by
DeRokerij
on
Topic category: Help with Minecraft modding (Java Edition)
hi, I'm making a halo mod and have just started work on the fuel rod gun, anyone have any idea how i might make the ammo bounce, i don't have any idea how to start
I don't know exactly how you would do this via procedure or if it is even possible. HOWEVER, if it is possible, you would likely need a very long and drawn-out procedure that uses NBT number tags as a sort of counter for when it hits a surface.
Additionally, you'd have to find a way to check for that every time the projectile hits a solid block/surface and performs a function based on the NBT number tag.
Using this, you could IN THEORY write out a somewhat painfully long procedure to check which side of the block the projectile hit and to redirect it's x y z vector/velocity to be opposite what it currently is based on that.
As said, this is all a theory so if anyone knows what I mean and wants to play around and see if they can get it to work and come back with a more thorough explanation, be my guest.