NerdyPuzzle / Just-enough-recipes-MCreator

GNU Lesser General Public License v2.1
3 stars 1 forks source link

Information Tab showing data, not present in element #5

Open smmmadden opened 2 months ago

smmmadden commented 2 months ago

I created an information tab for one of my items and it is showing "6" before Add coin sentence which doesn't exist in the element itself. Here you can see the configuration for it and it doesn't match. Looks like the Minecraft color codes are not translating correctly at first sight, but even removing it, I have the 6 still present. Configuration image

JEI Hover over Coin image

Crafting Table hover image

Crafted Coin hover image

Removed color codes from 2nd/3rd row - and from all rows image

As shown here, the JEI Tab itself looks fine. There is no 6 showing in the display, just the hovers. To be clear, I'm not expecting color in the hovers (don't believe that is supported), but the extra character that isn't present in the configuration that is a bug. Seems like it is cached somewhere and not getting updated if it changed. image

NerdyPuzzle commented 2 months ago

Jei information creates a translation key, you should be able to find it in localisation and edit it, though I don't know why it wouldn't automatically update...

smmmadden commented 2 months ago

I did a search in the entire workspace folder and found one file \workspaces\oresandmore\elements\GoldCoin.mod.json and removed the 6 in it. It still shows in-game. Tried removing the entire row in the element and re-added it and still showed in-game. Then I deleted the GoldCoin JEI element in MCreator and created GoldCoins JEI element. I also changed the row where it says 6 Gold Coins are crafted...to Six Gold coins are crafted thinking maybe it got replicated in the next row. In-game, I still see the 6 in both rows, so whereever the hover text is getting stored, it isn't getting updated and I cannot find any references in the workspace to manually edit it. :-(

NerdyPuzzle commented 2 months ago

Look for the localisation tab on the left side of mcreator

smmmadden commented 2 months ago

ah, never looked there before, thanks. Good to know! :-) Unfortunately, it looks fine here. image

NerdyPuzzle commented 2 months ago

Then I don't know what's happening, maybe jei stores information somewhere or something, because the translation key is what's used by the item information element.

smmmadden commented 2 months ago

it is a weird one. There doesn't appear to be any file in the workspace holding on to it that is "searchable", so it may be worth it to reach out to JEI developers to see what's going on. Could be a bug on their end?