Posted March 30, 201411 yr Need Help Throwing a Snowball on a Key Press (For Example: P) Please Help, Been trying tons of different things for hours
March 30, 201411 yr Author Ehhhh..... What about this? public void keyPressed(KeyEvent arg0, World par2World, EntityPlayer par3EntityPlayer) { if (arg0.getKeyChar() == 'p') { if (teleport == 1){ System.out.println("Test"); par2World.spawnEntityInWorld(new EntityEnderPearl(par2World, par3EntityPlayer));
March 30, 201411 yr Author Can you tell me some code I need to do, right now im really confused, is there any tutorials for this and if not can you step by step tell me the code a bit, btw Love the CameraCraft mod, see your a developer of it
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.