Class TagComparator
java.lang.Object
org.cyclops.commoncapabilities.ingredient.TagComparator
- All Implemented Interfaces:
Comparator<net.minecraft.nbt.Tag>
A comparator implementation for NBT tags.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Comparator<net.minecraft.nbt.Tag>
A comparator for NBT tags. -
Constructor Summary
ConstructorsConstructorDescriptionTagComparator
(org.cyclops.cyclopscore.nbt.path.navigate.INbtPathNavigation ignoreNbtNavigation) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
INSTANCE
A comparator for NBT tags. (This is set in GeneralConfig)
-
-
Constructor Details
-
Method Details
-
compare
public int compare(net.minecraft.nbt.Tag o1, net.minecraft.nbt.Tag o2) - Specified by:
compare
in interfaceComparator<net.minecraft.nbt.Tag>
-