Sorting using NBT data
zclimber opened this issue ยท 2 comments
The exact reason is that I use TConstruct and want to, for example, put best Throwing Knife into D1 slot. Using #261 solution helps partially: all of knives have same item ID, and all info is stored in NBT tag of an item. So, sorting just cycles the knives preferring ones with higher damage, which is not really good("worse" damaging knives with ammo are better than "stronger" ones without ammo, and so forth).
Thus, even better I think would be making user able to implement custom sorting algorithm for items that have NBT data: such as list of important tags, and then put "sorter=" into sorting tree, like "id="