Mods:NEI Support

From MineTweaker 3
Revision as of 20:45, 27 June 2014 by Stan (Talk)

Jump to: navigation, search

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! :)