Difference between revisions of "Mods:NEI Support"
From MineTweaker3 Wiki
(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...") |
|||
| Line 9: | Line 9: | ||
NEI.overrideName(<minecraft:stick>, "Sticky"); | NEI.overrideName(<minecraft:stick>, "Sticky"); | ||
| − | Enjoy! :) | + | These are the only methods. Enjoy! :) |
Revision as of 13:43, 22 June 2014
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 methods. Enjoy! :)