Darkhax-Minecraft / ItemStages

Allows items to be put into stages.
GNU Lesser General Public License v2.1
7 stars 18 forks source link

Enchanting Books not hidden in JEI when staged #42

Closed justinrusso closed 5 years ago

justinrusso commented 5 years ago

When staging enchantment books, the books end up staged but continue to show in JEI even with all stages cleared.

With a JEI update, the book returned from JEI changed slightly from

<minecraft:enchanted_book>.withTag({StoredEnchantments: [{lvl: 1 as short, id: 0 as short}]})

to

<minecraft:enchanted_book>.withTag({StoredEnchantments: [{lvl: 1 as short, id: 0}]})

Changing the script to the new nbt tag made the books staged (the tooltips states to the player it requires the stage set, and the name is "Unknown Item" but they still show in JEI.

Previous JEI: 4.13.1.223 New JEI: 4.14.4.264 ItemStages: 2.0.46

Darkhax commented 5 years ago

Looking at the JEI issue report, it looks like Mezz added a hack related to books which caused this issue. I am going to defer this issue to him for now.