items.add(null);
} else {
items.add(new PositionedItemStack(item, i));
}
}
Collections.sort(items, new MCItemStackComparator(byName));
while (true) {
if (items.get(pass) instanceof PositionedItemStack) {
PositionedItemStack item = (PositionedItemStack) items.get(pass);
// Left click pick up item