2024-07-14 21:21:16 +10:00
|
|
|
import net.minecraft.item.ItemStack
|
2024-08-01 08:17:48 +10:00
|
|
|
import classes.postInit.Common
|
2024-07-14 21:21:16 +10:00
|
|
|
|
2024-08-01 08:17:48 +10:00
|
|
|
/* Cleanup EIO Glasses in JEI, removing the dyed versions of each variant of glass
|
2024-07-14 21:21:16 +10:00
|
|
|
* Since we are lazy, remove all, then add back the original
|
|
|
|
*/
|
2024-08-01 08:17:48 +10:00
|
|
|
for (var stack in Common.eioGlasses) {
|
2024-07-14 21:21:16 +10:00
|
|
|
mods.jei.ingredient.hide(new ItemStack(stack.getItem(), 1, Short.MAX_VALUE))
|
|
|
|
mods.jei.ingredient.add(stack.copy())
|
|
|
|
}
|