Add equals(ItemStack) to IAEItemStack contract.

This commit is contained in:
Sebastian Hartte
2020-07-03 14:32:34 +02:00
parent 22facb9748
commit b8aa810a5f
2 changed files with 15 additions and 1 deletions
@@ -106,4 +106,13 @@ public interface IAEItemStack extends IAEStack<IAEItemStack> {
* @return definition stack
*/
ItemStack getDefinition();
/**
* Compare this AE item stack to another item stack, but ignores
* the amount. It checks the item type, NBT and damage values.
*
* @param is An item stack
*/
boolean equals(ItemStack is);
}