[1.11.2-r106] "Colored tooltips" being off doesn't seem to affect HWYLA or chat (JEI?)
starg09 opened this issue ยท 6 comments
I disabled this on our pack (yeah, I know... I'm really fun at parties). Anyway, noticed two things while debugging today:
- HWYLA still shows the name of everything from the mod with a gray colour (unlike everything else, which has a white one).
- When giving something to myself through creative, the message that shows up on chat will name the item using a purple colour. Thinking about it while writing this, I noticed this might be when giving through JEI only (didn't test with a
/give
command).
I don't care, to be honest.
It was a joke feature to mock everyone who wants to turn off colored item names. I don't plan on making it work properly :^)
Welp.
Nothing against it, to be honest. Simply would prefer most of the blocks to display their info similarly for the players; specially when it comes down to stuff they'll find in early game. Wouldn't mind the most advanced stuff to show it, msotly since others mods also do it at that point (IIRC? And most likely without an option)
At least you give me another argument I can give elucent about replacing HWYLA for TOP, so thanks :^)
To actually clear this up, by the way, I use the ItemTooltipEvent and just add TextFormatting.RESET to the start of the tooltip string. HWYLA probably doesn't use that event.
Yeah, I imagined so. OP was meant more as a "it would be nice if this config covered HWYLA as well, if possible".
Should have named it as a request more than a bug... Not like it would've made much difference, I imagine :P
Here's a quick breakdown of how Waila grabs the name:
- Waila calls
ItemStack#getTooltip(...)
- The first line gets prefixed with the
EnumRarity
text color. - In the second highlighted method in that link, the first line of the tooltip gets prefixed with the custom block name color (default being white).
I wonder if this is because you're using RESET
and not RESET + WHITE
. I'll look into it a bit.