The name coloring of (Empowered) Glod Crystal is inconsistent
KleinGrrmpf opened this issue · 3 comments
Modpack version:
Beta-0.1
Description:
When you search for Glod Crystal in JEI, its name appears in the normal white. However, if you show the uses or recipes of Glod Crystal, it always appears with a golden name and the NBT tag {display:{Name:"Glod Crystal"}}
where everything starting after the first quotation marks is colored in gold. The Empowered Glod Crystal has the same issue.
This also makes the Glod Crystal in the quest "Pew-pew!" and the Empowered Glod Crystal in the quest "Large Charge Urge" (both in chapter 12) look weird because they are the only gold colored items in the list of required items for those quests.
Steps to reproduce:
- Search for Glod Crystal in JEI
- Show the uses/recipes and notice the NBT tag of the item and the coloring of its name.
- Open the quest book in chapter 12 and open the quests "Pew-pew!" and/or "Large Charge Urge"
- Notice the the NBT tag of the (Empowered) Glod Crystal and the coloring of its name
Expected behavior:
I expected the Glod Crystal and the Empowered Glod Crystal not to have a colored name and an NBT tag because they don't have in JEI.
Screenshots:
How it is shown in JEI:
How it is shown in the quest book:
Additional context:
Weirdly, you can still submit the crystals to the quests, even if they don't have the correct NBT tag.
This is intended.
Unfortunately, JEI registers the item from ContentTweaker first, and I couldn't seem to modify its color (add the item with the correct NBT) later using mods.jei.JEI.addItem(<contenttweaker:glod_crystal>.withTag({display: {Name:"§6Glod Crystal"}}));
, as this command was ignored.
But then why are there items with a differently colored name? Because since there are it should be possible to show the items with the correct color in JEI without having to add a NBT tag...
Ok, so I looked into ContentTweaker and I now understand how the coloring works. It's a real shame that you can't set the name to be in one of the 16 vanilla colors... But upon looking up the rarities in the Minecraft Wiki, I noticed that the rarity "uncommon" has all its names in yellow. Might that be a valid alternative to prevent all that spaghetti with adding the NBT tag?
(And I still don't get why this crystal has to have a different name coloring than all the other atomically reconstructed crystals... They all have white names. But that is still up to you ^^)