itemstack1.getTagCompound().equals(itemstack.getTagCompound())