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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(net.minecraft.world.item.ItemStack o1, net.minecraft.world.item.ItemStack o2) Methods inherited from class org.cyclops.integratedterminals.capability.ingredient.sorter.IngredientInstanceSorterAdapter
getIcon, getTooltip, getTranslationKeyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ItemStackQuantitySorter
public ItemStackQuantitySorter()
-
-
Method Details
-
compare
public int compare(net.minecraft.world.item.ItemStack o1, net.minecraft.world.item.ItemStack o2)
-