Posted September 8, 201411 yr Hello, I am trying to figure out how to make a 'Hold Shift for Info" function for a tooltip, but I cant seem to find any info about this on the internet, so my last resource is here... I already have the tooltip done, but I only want it to show when I press shift. Thanks for the help. I ask complicated questions, and apparently like to write really long detailed posts. But I also help others when I can.
September 8, 201411 yr Author Okay, so I do want the info button to be the sneak key, so if the player changes it, that is the new button to hold, so I don't want to do the keyboard.isKeyDown thing. But I have a problem; player.isSneaking() doesn't work.... I am using the EntityPlayer in the addInformation() method. I am assuming that the isSneaking() method doesn't work in inventories, because, I guess that it was never intended to be used in guis. I ask complicated questions, and apparently like to write really long detailed posts. But I also help others when I can.
September 8, 201411 yr Author There is no keyBindSneak method in gemeRegistry.... after I type the "." and eclipse brings up a list of methods, if I press k, it disappears, so there isn't even a method that starts with k. I ask complicated questions, and apparently like to write really long detailed posts. But I also help others when I can.
September 8, 201411 yr Author Okay, lol got it working now, thanks I ask complicated questions, and apparently like to write really long detailed posts. But I also help others when I can.
September 8, 201411 yr You should probably mark this thread as [sOLVED] now, not unsolved. Follow my mod(s) here: http://www.minecraftforum.net/topic/1969694-
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.