I know that you can add tooltips to modded items by adding a method in the item's class. Is there a way to do it for blocks and items that already exist in vanilla?
I tried searching for it, but all the results require an already existing class for a modded object, so I don't know how to add one for vanilla items.
I know that you can add tooltips to modded items by adding a method in the item's class. Is there a way to do it for blocks and items that already exist in vanilla?
I tried searching for it, but all the results require an already existing class for a modded object, so I don't know how to add one for vanilla items.
Subscribe to the ItemTooltipEvent event and add the tooltip there.