Difference between revisions of "Mods:NEI Support"
From MineTweaker3 Wiki
| Line 1: | Line 1: | ||
| + | ''NOTICE: this page uses the 1.7.2 item names'' | ||
| + | |||
NEI support can be used to hide items in NEI, add a specific item (with specific damage/tag) or to change the item name as displayed with NEI. | NEI support can be used to hide items in NEI, add a specific item (with specific damage/tag) or to change the item name as displayed with NEI. | ||
Revision as of 14:45, 27 June 2014
NOTICE: this page uses the 1.7.2 item names
NEI support can be used to hide items in NEI, add a specific item (with specific damage/tag) or to change the item name as displayed with NEI.
How? Just follow these examples:
import mods.nei.NEI;
NEI.hide(<minecraft:bread>);
NEI.addEntry(<minecraft:bread>.withTag({display: {Name: "Tasty bread", Lore: ["Thanks to MineTweaker,", "We can now have tastier bread"]}}));
NEI.overrideName(<minecraft:stick>, "Sticky");
These are the only NEI functions available. Enjoy! :)