Item Tooltips

Supported MCreator versions
2022.2
2022.3
2023.1
EAP 2023.2.20712
2023.3
2023.4
2024.1
2024.2
Tags / plugin type
Procedures
tooltips
Downloads:
6226
Upvotes: 66
About the plugin

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

procedureprocedure

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
License
MIT License

Plugin downloads
Item Tooltips v1.5 - ItemTooltips.zipUploaded on: 07/22/2024 - 03:42   File size: 26.58 KB

Comments

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.

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.

In version 2024.1 when event trigger is set to "on tooltip render", opening inventory in creative mode crashes the game.

Hi guys, can someone explain why a procedure made with this always says missing dependencies? (for example i cant add it in the "when living entity is hit with tool" for a sword im making because it just says missing dependencies) 2024.1.17319 neoforge 1.20.4