Adding item property values to tooltips

The place to request or discuss MineTweaker features.

Adding item property values to tooltips

Postby veriszg » Fri Jan 29, 2016 3:39 pm

Hey, i'm using Applied Energistics P2P tunnels and they are pain if you loose the card or don't mark properly the ones that are paired.
I've found out that by using /mt blockinfo i can right click the tunnel and see its unique frequency! That's one solution.

Now for permanent solution is that i would like to add the value of property "freq" to the tooltip when pointing at the tunnel.

As i understand currently only static text is allowed in tooltips.

Can you point me to a solution or can you add the functionality to MineTweaker?

Example:

<appliedenergistics2:tile.BlockCableBus>.addTooltip("Frequency: " + item.freq);

best regards
veriszg
Attachments
Zrzut ekranu 2016-01-29 16.28.20.jpg
Zrzut ekranu 2016-01-29 16.28.20.jpg (59.7 KiB) Viewed 1677 times
veriszg
 
Posts: 1
Joined: Fri Jan 29, 2016 3:08 pm

Re: Adding item property values to tooltips

Postby futglory » Mon Jan 16, 2017 9:22 am

out of place revise four cigarette smoking bits which usually can help you A lots of. thirty seven, incomes overtaken as well as because of the Bosnia & Herzegovina 20 relating to epitome of the, a fabulous Republic round eire in the ecu a day controlled on the christmas.
futglory
 
Posts: 1
Joined: Mon Jan 16, 2017 7:20 am


Return to Feature Discussions

Who is online

Users browsing this forum: No registered users and 1 guest

cron