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

public class ItemStackIdSorter extends IngredientInstanceSorterAdapter<net.minecraft.world.item.ItemStack>
Sorts items by internal ID.
  • Constructor Details

    • ItemStackIdSorter

      public ItemStackIdSorter()
  • Method Details

    • getItemStackId

      protected String getItemStackId(net.minecraft.world.item.ItemStack itemStack)
    • compare

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