Jump to content

Modify item popup


Phenixer

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

×
×
  • Create New...

Important Information

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