MinecraftForge/MinecraftForge — pull request #137 by Quintinity (2012-08-21 17:30:44+00:00)
Title: Item Tooltip Rendering Hook

I've made this tooltip rendering hook after I saw some requests on the forums for it.

It adds a new render type to IItemRenderer called TOOLTIP. It is registered the same way any other custom renderer is registered. It does not add any more render helpers and it completely override the tooltip rendering. Meaning, if you create a custom renderer and don't add any code to the render method, the tooltip will now render at all.

The data parameters are:

FontRenderer fontRenderer - The FontRenderer instance
int x - the mouse x coordinate
int y - the mouse y coordinate