Item Tooltips is a plugin that allows for the creation of dynamic item descriptions and item modification in general. Through the use of the tooltip rendering event, an item can be modified using both the procedures of the plugin and already provided procedures by MCreator while the mouse is hovering above it.
Example
Procedure blocks
Changelog
v1.5
-Fixed the get text from line procedure not actually giving the text
-Added 2 new procedure blocks
-Support for 2024.2 and neoforge 1.20.6
v1.4.3
-Fixed the tooltip global trigger causing servers not to load on neoforge 1.20.4
Comments
I was doing the appendHoverItem modification thing until i saw that this got approved. Thanks for this, as many more people will be able to use dynamic tooltips, and that's always a nice thing to implement in any mod. Combining this with the plugin that adds the screen check for "is Alt down" and "is Ctrl down" and you can make some pretty cool stuff, i have items that show 1 line with ctrl, 1 line with shift and another line with alt. Good work again!
Oh yeah, i didn't saw the little arrow next to the "Shift" block, i suppose you can change there what modifier needs to be pressed. I have a question Nerdy, is possible that you maybe reimplement that procedure block that adds lore when an item is in a certain slot container? I used to do that with your old plugin, and that worked great as i was doing a workstation that gives reforges to items you put in, and i simply needed to add a line when the item was in the slot of the workstation. Now that that block is gone i don't know if is possible to make the same result with this new "add line" block that you've implemented. Any idea of how can be done, if it's possible?
I don't think (for the way Minecraft is coded), the first thing that the game does when creating a tool is setting its tooltip depending on the item type, but i don't know if that can be overriden before happens