Jump to content

Recommended Posts

Posted

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.

Posted

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.

Posted

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

~I was here~

Posted

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).

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.