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
Attempting to use this in Mcreator 2022.3 for Forge 1.16.5 causes an error that says: "net.minecraft.util.text.TextComponent is abstract; cannot be instantiated" and I know nothing of coding so I have no clue what this means or what is broken, but I'm certain it's not my mod doing this and is caused by the plugin.
Ok, i've encountered a strange bug. The plugin seems to broke once a number of tool tips are created.
I've made a procedure that has basically like 50+ tooltips descriptions. and seems like if I add too many the plugin goes all crazy and starts repeating things and rendering tooltips in the wrong items.
Hi, so there's an issue with the plugin, basically the tooltip render event is put in the client dist only, and since the entire procedure is an event subscriber, there is no event listener on the server, which makes the mod not be able to load on servers. You could fix this by just doing what world renderer does, and make the entire procedure class in client dist only instead of just the event.
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.
could you please add mouse button into the "is the key.....pressed"? I've been looking for the mouse click detecting for a long time.