Mods:NEI Support

From MineTweaker 3
Revision as of 19:42, 22 June 2014 by Stan (Talk) (Created page with "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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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");

Enjoy! :)