Phenixer Posted February 12, 2013 Posted February 12, 2013 Is there tools to modify Item Popup, preferably of all items in the game (one simple event?). I would like to add informations about Pickaxes power, Armor points, Food level etc... Thanks, Phenixer. Quote
Phenixer Posted February 12, 2013 Author Posted February 12, 2013 I found ItemStack.getTooltip(EntityPlayer par1EntityPlayer, boolean par2) that can help. And in the method I actually found that item.addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) is used in getToolTip so we can add more tooltip lines to it. Since I actually want to add tooltip for every item in game and not just my extends of Item. I will actually need to modify the Core game and... for this I need to know how CoreModding works. Any help would be appreciated. Thanks, Phenixer. Quote
ZetaHunter Posted February 13, 2013 Posted February 13, 2013 You might aswell use the way Thaumcraft 3 is having all his info boxes on items, Though its not the same box, this would add one more gui but I guess you can add a toggle to not spam up the screen with windows Quote ~I was here~
opssemnik Posted February 15, 2013 Posted February 15, 2013 then just create a client handler client side, with ticktype client,gui and player, and check to see if the current screen is instance of gui container or gui inventory, (because inside the gui container u will find drawItemStackToolTip, so u can draw the boxes up,inside,down or etc of the current itemstack). Quote
Recommended Posts
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.