mezz / JustEnoughItems

Item and Recipe viewing mod for Minecraft
https://www.curseforge.com/minecraft/mc-mods/jei
MIT License
784 stars 304 forks source link

Resourcepack items with NBT-Data show their base item texture in JEI instead of the custom texture #1381

Open Mike5357 opened 6 years ago

Mike5357 commented 6 years ago

(Not sure if this belongs on CraftTweaker's tracker or here)

I'm using a resourcepack ("ItemBound") that affects NBT-Tagged items to change textures of items with certain display names. I've added custom recipes to these items and have them showing in JEI using CraftTweaker, however it seems JEI does not show the resourcepack's textures and instead shows the base item texture.

Example: in JEI In JEI the item shows the base leather helmet texture instead of the custom texture, which does show when spawning the item and viewing recipes:

vs spawning the item: and viewing crafting recipes:

Kompreya commented 4 years ago

This still occurs in jei_1.12.2-4.15.0.297

We are using Optifine to replace several textures based on their NBT data. These textures don't show in JEI.

Steps to reproduce: 1) Install OF 2) Using OF's CIT, replace the texture of an item based on its NBT Example: (OF CIT properties file that defines a new texture for a specified item and its NBT) type=item items=dungeontactics:magic_scroll enchantmentIDs=dungeontactics:companion 3) Launch modpack 4) View textures 4a) Expected result - New texture shows where all instances of this item plus its NBT tag is show in game (JEI, inventory, crafting grid, dropped, held, etc) 4b) Actual result - New texture shows in most locations, except JEI search itself. They show in JEI recipes, but not in the item list. Sample 1: Arrows point to same items between inventory and JEI https://i.imgur.com/Ym7JGJ1.png Sample 2a and 2b: Pressing R over this item shows the recipe, which shows correct texture. https://i.imgur.com/VKjSfmC.png https://i.imgur.com/Kg82LU6.png