Feature Request: NEI Integration - Sort Option.
IMarvinTPA opened this issue ยท 0 comments
Minecraft Version: Any, but 1.10.2 is fine.
Inventory Tweaks Version: 1.61-58
I would like to be able to sort the NEI screen using my Inventory Tweaks tree. This would help me add modded items into my tree into a sane order and create an awesome tree.
There is an API in NEI to do this:
/**
* Adds a new sorting option to the item panel sort menu
*
* @param name A unique id for this sort option. Will be used in the config for saving and translated in the options gui. Note that if the translation key name.tip exists, it will be used for a tooltip
*/
public static void addSortOption(String name, Comparator comparator) {
ItemSorter.add(name, comparator);
}
/src/main/java/codechicken/nei/api/API.java
If you implement this, please let the NEI guys know in my ticket there at TheCBProject/NotEnoughItems#37
Thanks,
IMarv