Acinate Posted March 22, 2015 Posted March 22, 2015 (edited) Hello, I am making a mining script and would like to mine 14 copper, then mine 14 tin ore. Something along the lines of: getInventory().contains("Copper ore")[.amount()] < 15 How can I check the number of of a particular item in my inventory. UPDATE: I've found the method .getAmount() , how can I use this with getInventory? Edited March 22, 2015 by Acinate