Item Tooltips

Supported MCreator versions
2022.2
2022.3
2023.1
EAP 2023.2.20712
2023.3
2023.4
2024.1
2024.2
2024.3
Tags / plugin type
Procedures
tooltips
Downloads:
7246
Upvotes: 77
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.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
License
MIT License

Plugin downloads
Item Tooltips v1.6 - ItemTooltips.zip Uploaded on: 11/04/2024 - 01:54   File size: 29.64 KB

Comments

I need to update 2024.3 There are a lot of plugins in the queue. I wonder when this one will be ready :D

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_

Hey! Thank u for your nice plugin, I'm not sure if it's due to technical limitations or some other reason, if possible, could you please place the rendering text above the attributes?

Really helped with my mod. Especially good when you want to be able to use the vanilla game language feature to translate item tooltips/lore.

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.