Class ItemStackNameSorter
java.lang.Object
org.cyclops.integratedterminals.capability.ingredient.sorter.IngredientInstanceSorterAdapter<net.minecraft.world.item.ItemStack>
org.cyclops.integratedterminals.capability.ingredient.sorter.ItemStackNameSorter
- All Implemented Interfaces:
Comparator<net.minecraft.world.item.ItemStack>,IIngredientInstanceSorter<net.minecraft.world.item.ItemStack>
public class ItemStackNameSorter
extends IngredientInstanceSorterAdapter<net.minecraft.world.item.ItemStack>
Sorts items by display name.
-
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
-
ItemStackNameSorter
public ItemStackNameSorter()
-
-
Method Details
-
compare
public int compare(net.minecraft.world.item.ItemStack o1, net.minecraft.world.item.ItemStack o2)
-