Yeah, motionx, motionz, and motiony are all methods within the EntityPlayer class, used to move the player. The thing I want to know, is how I can use them to catapult the player forward towards the direction he is looking.
Hello guys, I am looking for a method to make the player catapult forward according to where he is looking at. To do this, I thought i should register the direction he is looking and using "player.motionx", "player.motionz", "player.motiony". But obviously that isn't working, so I need a method which I can use to like fling him forwards. I figured motiony is needed, but then I'm stuck towards how I'm gonna make him move forward. Any suggestions please?
6 replies
Important Information
By using this site, you agree to our Terms of Use.