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.6
-Support for MCreator 2024.3 and neoforge 1.21.1
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
When I try to start a server with my mod that uses the plugin I get this error:
?7java.lang.IllegalArgumentException: class net.mcreator.qj.procedures.DetectorTooltipupdateProcedure has no @SubscribeEvent methods, but register was called anyway.
The event bus only recognizes listener methods that have the @SubscribeEvent annotation.
Hi Nerdy, thanks for this great plugin! I found a bug in item tooltips plugin (I used Neoforge 1.20.4 and mcreator 2024.1.15821 when I found this bug).
When using entity dependency, mcreator gives an error. I looked into Mcreator logs and found something suspicious.
In procedures where I didn't use entity dependency, all was okay, but in procedures where I used entity dependency, there was an error, and I thought
that I can fix it myself. I looked into plugin folder neoforge 1.20.4 tooltip event(trigger) and changed "entity": "event.getPlayer()" to "entity": "event.getEntity()".
After that, this error didn't happen. And sorry for the bad English:)
HI Nerdy, thank you for adding this to the collection. I understand that the plugin is called Item Tooltips and it certainly fits the need for organizing the content of item tooltips. I was wondering if it might be difficult to add the above five or so procedures to the tool tips used in the GUI screen? Again, I understand this is different than Tooltips for Items and likely most people don't use the GUI tooltips beyond adding a 3 to 7 word description (I assume). Just thought it might be nice to have that new line procedure in the GUI tooltip a want certainly not a need. Again Thank you for all that you do. Your work is appreciated!!!
For whatever reason, whenever I use the "On tooltip rendering" global trigger now, it no longer works. Attaching any block on to it causes it to be marked as an error and doesn't finish building the workspace. (MCreator 2023.4, Item Tooltips v1.2 - 1.20.1 support)
Use the localized text procedure