Posted August 10, 201312 yr I just deleted all of my old problems and replaces them with this thread (no need to re-create threads) I am trying to create a keybind, but since keyDown is a part of an interface, I can't add "EntityPlayer player" to the method params. public void keyDown(EnumSet<TickType> types, KeyBinding kb, boolean tickEnd, boolean isRepeat) { ItemInfoHandler.idMatcher(player); ItemInfoHandler.getInfo(player); } How do I make it so the program knows that the player parameter is = to the player using the method keyDown? Follow me on twitter! @keepablock Read up on whats new! www.catacombs.co http://electronic-chronic.com/assets/keep-a-block/wikilink/wikilink_logo.png[/img]
August 10, 201312 yr you have a if(something){ //something break; }else{ //something break; } the code will unevitably hit one of the 2 break and go out of the loop how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
August 10, 201312 yr Author I replaced OP with new question Follow me on twitter! @keepablock Read up on whats new! www.catacombs.co http://electronic-chronic.com/assets/keep-a-block/wikilink/wikilink_logo.png[/img]
August 10, 201312 yr keyhandlers are client side only how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
August 10, 201312 yr It's better to create a new thread or post your questions in the old thread than editing Editing makes the thread weird to read not to mention searching gets fucked up too If you guys dont get it.. then well ya.. try harder...
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.