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
I need help with the plugin. Recently I was making the tip for my item, but the description "when in main hand", "attack damage" and others keep appearing overlapping the description I want, I would like to send them below the description of my item, Without grotesquely changing the model in my description, any help?
My item:
https://prnt.sc/hxZsqt__oBNh
My example:
https://prnt.sc/3aWeKarFogj_
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.
update for 2024.4?