You need the script file to be named something like:
NEI.zs
(the only thing that matters is the extension)
and that needs to be in the scripts folder (which you need to create alongside the mods and configs folders)
You create a separate script in your scripts folder just for NEI (because it doesn't work on servers)
And do:
This example hides diamonds and breadCode:import mods.nei.NEI; NEI.hide(<minecraft:diamond>); NEI.hide(<minecraft:bread>);
NEI.hide(<minecraft:planks>);
NEI.hide(<minecraft:planks:*>);
NEI.hide(<5>);
NEI.hide(<5:*>);
The 1.6 version did not work. It says "symbol NEI not found".Yes... assuming you are using 1.7 the code would be:
And that would hide all planksCode:NEI.hide(<minecraft:planks>); NEI.hide(<minecraft:planks:*>);
But if you want to do it in 1.6, and that method doesn't work:
Should workCode:NEI.hide(<5>); NEI.hide(<5:*>);