Class ItemStackQuantitySorter

java.lang.Object
org.cyclops.integratedterminals.capability.ingredient.sorter.IngredientInstanceSorterAdapter<net.minecraft.world.item.ItemStack>
org.cyclops.integratedterminals.capability.ingredient.sorter.ItemStackQuantitySorter
All Implemented Interfaces:
Comparator<net.minecraft.world.item.ItemStack>, IIngredientInstanceSorter<net.minecraft.world.item.ItemStack>

public class ItemStackQuantitySorter extends IngredientInstanceSorterAdapter<net.minecraft.world.item.ItemStack>
Sorts items by count.
  • Constructor Details

    • ItemStackQuantitySorter

      public ItemStackQuantitySorter()
  • Method Details

    • compare

      public int compare(net.minecraft.world.item.ItemStack o1, net.minecraft.world.item.ItemStack o2)