Posted December 8, 201410 yr I have this code: player.setVelocity(player.motionX,player.motionY+1D,player.motionZ); player.velocityChanged = true; And it doesn't crash me, but it kicks me because EntityPlayer.setVelocity doesn't exist server side. How could I fix this? The proud(ish) developer of Ancients
December 8, 201410 yr Author It can't inline it because the class doesn't have a source attachment... The proud(ish) developer of Ancients
December 8, 201410 yr Author I don't know what's wrong, or how to fix it... The proud(ish) developer of Ancients
December 8, 201410 yr Author I have to install java 7...this sucks EDIT: I installed java 7, it still doesn't work The proud(ish) developer of Ancients
December 8, 201410 yr Author I have a different version installed, so it didn't work. I tried installing java 7 but it still doesn't work. The proud(ish) developer of Ancients
December 8, 201410 yr Author gradlew setupDecompWorkspace eclipse: says "FAILURE: Build failed with an exception" then it says that I need java 7 and it's fixed with forgegradle 1.2 The proud(ish) developer of Ancients
December 8, 201410 yr Author 1.I don't know how to update 2.again, I don't know how to update The proud(ish) developer of Ancients
December 8, 201410 yr Author Yeah I tried that, but I couldn't figure out what I was doing wrong. All I know is that I couldn't get the proper files. Also I changed the line to "player.motionY += 1D;" and it works. The proud(ish) developer of Ancients
December 8, 201410 yr Author The proper forge files, I got the universal and the Installer. I have no idea where to go from there. (I made my mod a couple months ago) The proud(ish) developer of Ancients
December 9, 201410 yr Instead of calling the setVelocity method (which is client-side only), change the motionX/motionY/motionZ directly. Example: player.motionX += 0d; player.motionY += 1d; player.motionZ += 0d; Hope this helps! - Romejanic Romejanic Creator of Witch Hats, Explosive Chickens and Battlefield!
December 9, 201410 yr player.motionY += 1; should be enought. It is useless to use player.motionX += 0d;
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.