ItemStack damage no longer exists in 1.13 as metadata.
import org.spongepowered.api.data.property.Property;
import org.spongepowered.api.data.manipulator.DataManipulator;
-import org.spongepowered.api.data.manipulator.mutable.item.DurabilityData;
import org.spongepowered.api.item.ItemType;
import org.spongepowered.api.util.generator.dummy.DummyObjectProvider;
*/
public static final Comparator<ItemStack> ITEM_DATA = DummyObjectProvider.createExtendedFor(Comparator.class, "ITEM_DATA");
- /**
- * Compares ItemStacks based on their {@link DataManipulator}s ignoring {@link DurabilityData}
- */
- public static final Comparator<ItemStack> ITEM_DATA_IGNORE_DAMAGE = DummyObjectProvider.createExtendedFor(Comparator.class, "ITEM_DATA_IGNORE_DAMAGE");
-
/**
* Compares ItemStacks only ignoring their stack-size.
*
